Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The new docker images don't seem to be working on arm64 #1321

Closed
moisout opened this issue Mar 26, 2022 · 4 comments
Closed

The new docker images don't seem to be working on arm64 #1321

moisout opened this issue Mar 26, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@moisout
Copy link
Member

moisout commented Mar 26, 2022

The new docker images don't seem to be working on arm64 - they yield the same error as if I used the amd64 image on a Raspberry Pi 4B: viewtube | exec /usr/bin/node: exec format error

It works when building with build: ., but not with any images.
Looking at the docker hub tags, all of the dev images have the linux/amd64 architecture, and manually specifying the mauriceo/viewtube:dev-linux-arm64 image has the same result as mauriceo/viewtube:dev

docker-compose.yml
version: "3"

services:
  viewtube:
    build: . # works
    container_name: viewtube
    restart: unless-stopped
    #image: mauriceo/viewtube:dev # does not work
    #image: mauriceo/viewtube:dev-linux-arm64 # does not work
    depends_on:
      - viewtube-mongodb
      - viewtube-redis
    networks:
      - viewtube
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./data:/data
    environment:
      - VIEWTUBE_URL=http://localhost:8066
      - VIEWTUBE_DATABASE_HOST=viewtube-mongodb
      - VIEWTUBE_REDIS_HOST=viewtube-redis
      - VIEWTUBE_DATA_DIRECTORY=/data
    ports:
      - 8066:8066

  viewtube-mongodb:
    container_name: viewtube-mongodb
    image: mongo:4.4
    networks:
      - viewtube
    restart: unless-stopped
    volumes:
      - ./data/db:/data/db

  viewtube-redis:
    container_name: viewtube-redis
    image: redis:6
    networks:
      - viewtube
    restart: unless-stopped
    volumes:
      - ./data/redis:/data

networks:
  viewtube:

Originally posted by @myned in #979 (comment)

@moisout moisout added the bug Something isn't working label Mar 26, 2022
@moisout moisout changed the title The new docker images don't seem to be working on arm64 - they yield the same error as if I used the amd64 image on a Raspberry Pi 4B: viewtube | exec /usr/bin/node: exec format error The new docker images don't seem to be working on arm64 Mar 26, 2022
@InvisibleFunction
Copy link

image

it looks like the images tagged as arm are actually amd64?

@moisout
Copy link
Member Author

moisout commented Mar 20, 2023

That's an old build. I am currently in the process of setting the up the builds properly. I'll update here!

@moisout
Copy link
Member Author

moisout commented Mar 20, 2023

There is now the nightly tag, which is available for arm, arm64 and amd64. It gets built every night off of the development branch.
Once I have released this, the stable tag will also have all these architectures.

@moisout
Copy link
Member Author

moisout commented Mar 20, 2023

Please try the nightly version, and report if there are any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants