Can't run Docker Image on Raspberry Pi

Clean Rasperrian install, all upgraded
Clean Docker install
per https://docs.dgraph.io/tutorial-1/
sudo docker run --rm -it -p 8000:8000 -p 8080:8080 -p 9080:9080 dgraph/standalone:latest
resulted in
get standard_init_linux.go:211: exec user process caused "exec format error"

Possibly this is an x86/ARM issue. If so, can you compile for ARM?

I don’t know if we have some ticket to support this. But you could try to build from the source. Just clone the repo, check the make params add env GOOS=android GOARCH=arm64 and build it with make dgraph. If it build, nice! Otherwise, some work need to be done.

I’ll check this this week, if we could support it.

Cheers.

Super, yes, I’ll try that next. Thanks!!

As @MichelDiz pointed out, we do not have an image that can run on arm64. Happy to provide you the binaries for a particular version if you like (email me at aman[AT]dgraph.io). You could also compile it yourself with GOOS=linux and GOARCH=arm64. I am assuming your Raspberry Pi is running linux on a 64 bit arm architecture. If you face any issues, please feel free to let us know.

Thanks

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.