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

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

Open
salv0 opened this issue Jun 24, 2022 · 2 comments
Open

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

salv0 opened this issue Jun 24, 2022 · 2 comments
Labels

Comments

@salv0
Copy link

salv0 commented Jun 24, 2022

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?

@ghislainfourny
Copy link
Member

ghislainfourny commented Nov 15, 2022

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?

@ingomueller-net
Copy link
Contributor

ingomueller-net commented Dec 16, 2022

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.

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

No branches or pull requests

3 participants