Running from raspberry pi with docker image getting error
See original GitHub issueDescribe the bug I think docker image for raspberry pi builded from wrong image
To Reproduce Steps to reproduce the behavior:
osmc@osmc:~$ sudo docker run -d --restart=always -p 8000:8000 --name=green-tunnel sadeghhayeri/green-tunnel:arm
ca2387d24d497b442ff5b7fa5415d19e0c21106ef1b788c7689588989e96e5df
osmc@osmc:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ca2387d24d49 sadeghhayeri/green-tunnel:arm "/bin/sh -c 'node ./…" 24 seconds ago Restarting (1) 4 seconds ago green-tunnel
osmc@osmc:~$ sudo docker logs -f --tail 10 green-tunnel
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
Expected behavior Container running without error
Additional context
- OS: macOS Cataline v10.15.5
- Docker: 19.03.11, build 42e35e6
My PR already merged on this but I think you forgot to uncomment it when build docker image with arm tag. Please update the image 🙏
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Docker image fails to run on Raspberry Pi with strange Node ...
It kind of seems like Node is failing to get a valid time. What are you using as the base image for your...
Read more >Raspberry PI Docker error: could not get iptables version #4292
Running the docker image on a Raspberry Pi ARMv6 results in this error: docker run -d --name=tailscaled --network=host -v /var/lib:/var/lib ...
Read more >"exec format error" when trying to start a arm64 docker image ...
I am attempting to run a arm64 docker image: https://hub.docker.com/r/florider89/joplin-server/tags on a Raspberry Pi 4 with a 64 bit Debian ...
Read more >error installing docker - Raspberry Pi Forums
Re: error installing docker Wrong architecture of the container? Pi is ARM; you can't run x86/amd64 and similar containers.
Read more >Running under Docker - Node-RED
This guide assumes you have some basic familiarity with Docker and the Docker Command Line. It describes some of the many ways Node-RED...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Tested and it works! Thx mate 👍
Hmm I try on my pc and it works
Diff:
Build image: