Exec format error on RaspberryPi
See original GitHub issueBug report
Describe the bug I tried to run your project using docker on my raspberry pi 3 B+ (Raspbian GNU/Linux 9)
The docker crash instantly with this log
standard_init_linux.go:190: exec user process caused "exec format error"
I guess it’s something with the fact that the processor of the raspberry pi is Arm
To Reproduce
docker run -p 10000:5432 -d --name emby-stats uping/embystat:beta-linux
System (please complete the following information):
- OS: Raspbian 9 stretch
- Browser: chrome
- Version: 74
Additional context
The container with the tag beta-linux works fine on my personal computer (amd64)
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
cannot execute binary file: Exec format error on Raspberry Pi
bash: /home/pi/dotnet/dotnet: cannot execute binary file: Exec format error You have just installed .NET on Raspberry Pi and executed the ...
Read more >Raspberry Pi Exec Format Error · Issue #2331 · sharkdp/bat
-bash: /usr/local/bat/bat: cannot execute binary file: Exec format error What did you expect to happen instead? For it to work.
Read more >How can I fix exec format error on raspberry pi 4
1 Answer. It's a "LSB relocatable" file, which is not executable since it hasn't been linked because the -c in your command command...
Read more >Exec format error with Hello World project on RaspberryPi
The “exec format error” for kernel modules typically happens when trying to load a module that was built for a different kernel.
Read more >System binaries fail with "Exec format error", apt-get ...
Most system commands fail with "Exec format error" and apt-get upgrade fails with "117: Structure needs cleaning".
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 Free
Top 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

@leon1995 our image is multi-arch https://github.com/linuxserver/docker-embystat
@ArthurKnoep @mregni Just a heads up, the build is 64bit (aarch64) but the official OS builds on raspberry pi are 32bit (arm32v7), that’s probably why it fails to load.
We do have a test docker repo that builds an aarch64 image with that binary and works great on arm64: https://github.com/linuxserver/docker-embystat/blob/multi-arch/Dockerfile.aarch64