rcribbs / arch-vnc-headless

A docker image of arch linux with xfce, vnc and some essentials installed to act as an always-on remote workspace.
MIT License
12 stars 8 forks source link

docker restarting #5

Open reydecopas opened 11 months ago

reydecopas commented 11 months ago

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 commented 2 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"
rcribbs commented 1 month ago

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