influxdata / influxdata-docker

Official docker images for the influxdata stack
323 stars 250 forks source link

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

Open lloydjatkinson opened 6 years ago

lloydjatkinson commented 6 years ago

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 commented 5 years ago

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

Kezii commented 5 years ago

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 commented 5 years ago

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

let4be commented 4 years ago

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 commented 3 years ago

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

jccurtis commented 3 years ago

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 commented 3 years ago

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

Nusserdt commented 2 years ago

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

xdubx commented 2 years ago

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