rumble icon indicating copy to clipboard operation
rumble copied to clipboard

Running Rumble with Docker on M1 doesn't seem to work

Open salv0 opened this issue 2 years ago • 2 comments

Hi there, I am trying to run Rumble on my M1 Macbook Pro, but I am receiving the following error:

❯ docker run -p 8002:8002 --rm rumbledb/rumble serve -p 8002 -h 0.0.0.0
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

I tried to add the --platform linux/amd64 as well, but no luck. Any idea?

salv0 avatar Jun 24 '22 21:06 salv0

Thanks for the bug report!

There used to be issues related to M1 on docker not just with RumbleDB. It seems that this semester, most of them are fixed.

@ingomueller-net hi there! 👋 would it be possible to release docker for the latest RumbleDB 1.20 and we can they try this again to see if the problem still arises?

ghislainfourny avatar Nov 15 '22 15:11 ghislainfourny

Thanks for brining this to my attention! I looked into this a bit and I think here's what I'd need to do to make it work: The base image I am currently using is adoptopenjdk/openjdk8 with the alpine-slim tag, which does not have multi-arch support (and neither does any of the other Alpine variants). I'd have to use the slim tag for example, which is based on Ubuntu, and, thus, adapt the rest of the Dockerfile.

While this is of course possible, I don't know yet when I'll have the time to look into that. Let's hope it is soon ;)

Update: I looked into this just a bit more and found that also the eclipse-temurin images don't support multi-arch support for their Alpine versions. I suppose it has to do something with the glibc compatibility package that Spark (or Java) seems to need there, which only exists for x86. Bottom line is that I still don't have multi-arch support and I guess I need to migrate away from Alpine to get it.

ingomueller-net avatar Dec 16 '22 09:12 ingomueller-net