Open reydecopas opened 11 months ago
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"
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
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