Docker Community Forums

Share and learn in the Docker community.

Daemon error responses: exec format error and Container is restarting, wait until the container is running

I followed a guide and just copied & pasted the commands into the Ubuntu 20.04 terminal (arm64 based SBC).
Now if I want to watch the logs with docker logs --follow monerod the output is standard_init_linux.go:228: exec user process caused: exec format error
For docker exec monerod /usr/local/bin/monerod status the output is Error response from daemon: Container (container ID) is restarting, wait until the container is running
All the commands below:

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y ufw curl
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
su - $USER
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw allow 18080/tcp
sudo ufw allow 18089/tcp
sudo ufw enable
docker run -d --restart unless-stopped --name="monerod" -p 18080:18080 -p 18089:18089 -v bitmonero:/home/monero sethsimmons/simple-monerod:latest --rpc-restricted-bind-ip=0.0.0.0 --rpc-restricted-bind-port=18089 --public-node --no-igd --no-zmq --enable-dns-blocklist
docker run -d \
    --name watchtower --restart unless-stopped \
    -v /var/run/docker.sock:/var/run/docker.sock \
    containrrr/watchtower --cleanup \
    monerod tor

Hi :slight_smile:

That error is because you are trying to run something, that is not made for your cpu architecture.
The “sethsimmons/simple-monerod” image, is made only for amd64, and not arm

You can see this on hub.docker.com, in this case:
Docker Hub

Thanks. So I can’t use this because there is no arm64 version available?

Correct! :slight_smile:
The user “sethsimmons” have only provided the amd64 version.

But have you checked:
Docker Hub ?

There seem to be alot of monero arm versions on hub.docker.com

I’ll give it a try. Thank you

1 Like