influxdata-docker icon indicating copy to clipboard operation
influxdata-docker copied to clipboard

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

Open lloydjatkinson opened this issue 6 years ago • 9 comments

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?

lloydjatkinson avatar May 21 '18 22:05 lloydjatkinson

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

stoinov avatar Nov 10 '18 10:11 stoinov

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

Kezii avatar Nov 27 '18 16:11 Kezii

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

Safename321 avatar Dec 13 '18 01:12 Safename321

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

let4be avatar Jan 23 '20 12:01 let4be

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

fuomag9 avatar Jan 03 '21 11:01 fuomag9

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.

jccurtis avatar Feb 02 '21 07:02 jccurtis

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

fajarnuha avatar Feb 03 '21 05:02 fajarnuha

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

Nusserdt avatar Mar 30 '22 07:03 Nusserdt

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

xdubx avatar Jun 18 '22 11:06 xdubx