Docker Community Forums

Share and learn in the Docker community.

Standard_init_linux.go:190: exec user process caused "exec format error


(Nwegener) #1

Hello,
on an arm based orangepipcplus this command fails:
docker run --rm -v /root/config:/tmp/docker-mailserver -ti tvial/docker-mailserver:latest addmailuser bla@exmaple.com
with
standard_init_linux.go:190: exec user process caused "exec format error"
the version is:

docker version
Client:
Version: 18.04.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 3d479c0
Built: Tue Apr 10 18:25:11 2018
OS/Arch: linux/arm
Experimental: false
Orchestrator: swarm

Server:
Engine:
Version: 18.04.0-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.4
Git commit: 3d479c0
Built: Tue Apr 10 18:21:14 2018
OS/Arch: linux/arm
Experimental: false

on a x86_64 ubuntu machine the same command succeeds.

Any idea?

Norbert


(Msr2406) #2

Hi Norbert
I’ve had a similar problem. Just starting with Docker. I created the getting started image and it ran fine on my Linux/Mint PC.
I uploaded it to the docker hub and installed docker on a Raspberry Pi. On downloading the image from the hub to my RPi, I got the same message
standard_init_linux.go:190 exec user process caused “exec format error”.
:slightly_frowning_face:
Did you find out anything from anywhere else about the cause?
Mark.


(Nwegener) #3

Hi Mark, The Problem ist probably that the Image you use has the wrong architecture. I Had an x64 Image and needed an arm Image. That was at least my Problem.

BR Norbert


(Mariu5) #4

That was it. I updated the deployment.template.json file with the right image architecture and it worked like a charm. It was supposed to be arm32 in my case and I used this:
“image”: “${MODULES.CSharpModule.arm32v7}”