Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM support - "standard_init_linux.go:190: exec user process caused "exec format error"" #228

Open
lloydjatkinson opened this issue May 21, 2018 · 9 comments

Comments

@lloydjatkinson
Copy link

I am unable to run influxdb on Raspberry Pi 3. Latest Raspbian.

To reproduce:

$ docker volume create influxdb-storage
$ docker run -d -p 8086:8086 -p 8083:8083 -h influxdb --name=influxdb -v influxdb-storage:/var/lib/influxdb influxdb/influxdb

You then get:

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

The influxdb image on Docker Hub states:

amd64, arm32v7, arm64v8

Please can you advise? Why am I getting this runtime error?

@stoinov
Copy link

stoinov commented Nov 10, 2018

Are you still getting this? It works for me on arm64 machine.

@Kezii
Copy link

Kezii commented Nov 27, 2018

I'm getting the same error with the official docker composer thing,
/entrypoint.sh: line 12: /usr/bin/chronograf: cannot execute binary file: Exec format error
/entrypoint.sh: line 11: /usr/bin/kapacitord: cannot execute binary file: Exec format error
Seems like almost all softwares are broken, they are ARM v5 32 bit binaries, when the host architecture is ARMv8 / aarch64
Someone is building for the wrong architecture

@Safename321
Copy link

If you are still having these problems, here is a repo with relevant links.
BrandonJoffe/home_surveillance#54
Basically you have to rebuild the image with the right docker version to make the right image version.
I think

@let4be
Copy link

let4be commented Jan 23, 2020

Same error with chronograf on ARMv8 64-bit
with both chronograf:latest and arm64v8/chronograf:latest
advice?

Influxdb itself seems to run just fine on the same platform

@fuomag9
Copy link

fuomag9 commented Jan 3, 2021

The issue is still not fixed, I cannot run the docker image

@jccurtis
Copy link

jccurtis commented Feb 2, 2021

I was having the same issue with the quay.io images (@Kezii nailed the issue above 👍) however I was able to use the nightly build on an arm64v8 cpu:

docker run --rm -p 8086:8086 quay.io/influxdb/influxdb:nightly

The 2.0.3 tag was built two months ago. There also is not a 2.0.4 build or an updated alpine build. The images on DockerHub do not include v2.#.# options.

For anyone else who finds this and wants to build a v2 image manually, the Dockerfile (in this repo) is here.

@fajarnuha
Copy link

having the same issue for raspbian 32 bit here, any plan on supportin 32bit cpu?

@Nusserdt
Copy link

Nusserdt commented Mar 30, 2022

Any solution on this topic? Still have this issue with arm64v8/influxdb:latest on RPI3.

@xdubx
Copy link

xdubx commented Jun 18, 2022

Any solution on this topic? Still have this issue with arm64v8/influxdb:latest on RPI3.

You cannot run a 64 bit image on a 32 Bit os. use arm32v7
https://hub.docker.com/r/arm32v7/influxdb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants