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

docker restarting #5

Open
reydecopas opened this issue Nov 20, 2023 · 2 comments
Open

docker restarting #5

reydecopas opened this issue Nov 20, 2023 · 2 comments

Comments

@reydecopas
Copy link

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
177440d4d6af rcribbs/arch-vnc-headless "/usr/local/bin/dumb…" 3 seconds ago Restarting (1) Less than a second ago

docker logs arch-vnc
exec /usr/local/bin/dumb-init: exec format error
exec /usr/local/bin/dumb-init: exec format error
exec /usr/local/bin/dumb-init: exec format error
exec /usr/local/bin/dumb-init: exec format error
exec /usr/local/bin/dumb-init: exec format error
exec /usr/local/bin/dumb-init: exec format error

@p3kj
Copy link

p3kj commented Aug 7, 2024

You need to change architecture of Yelp/dumb-init which is downloaded in Dockerfile.

For your system, it could be x86_64 instead of aarch64

This is part of the Dockerfile that should be changed.

RUN wget -O /usr/local/bin/dumb-init \
"https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}"\
"/dumb-init_${DUMB_INIT_VERSION}_x86_64"

@rcribbs
Copy link
Owner

rcribbs commented Sep 4, 2024

Thanks for this snippet! I will look into making this a multi-arch build. This repo needs a little TLC anyways, so this is a good start target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants