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

Unable to run arm64 image #219

Open
Marmelatze opened this issue Jul 8, 2024 · 5 comments
Open

Unable to run arm64 image #219

Marmelatze opened this issue Jul 8, 2024 · 5 comments
Assignees
Labels
bug Something isn't working database [mysql] docker
Milestone

Comments

@Marmelatze
Copy link

looks like the dolt binary is a amd64 binary in the arm64 docker image:

/app/bin # file dolt
dolt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=SJU4Wbx2ocoOD3Bg1IRP/LYD13qw0XusixUM2SMz2/NSRWh_CPzcvwh0BiYwIJ/ffFZSPqfxlpzJ_9xHWyd, stripped
/app/bin # file centrifugo
centrifugo: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=dtgNFgKLN_0pm-4zWofe/7mY7NkLHKkTujPIcPNDH/7jv81k9o5BS9Ejc_jT-N/y2ogMxwQ2ORpgGydhAXC, stripped

This results in the container not starting up:

{"time":"2024-07-08T13:06:49.280803314Z","level":"ERROR","msg":"plugin returned an error from the Serve method","!BADKEY":"fork/exec ./bin/dolt: exec format error","plugin":"*service.Plugin"}

Tested with version 1.10.4

@butschster
Copy link
Member

Hmm, thx!

@butschster butschster self-assigned this Jul 8, 2024
@butschster butschster added bug Something isn't working database [mysql] labels Jul 8, 2024
@butschster butschster added this to the 1.0 milestone Jul 8, 2024
@Marmelatze
Copy link
Author

I think the problem is that dolt is publishing the wrong binaries in their docker container. I opened a issue: dolthub/dolt#8110

@roxblnfk
Copy link
Member

Looks like the dolt issue has been resolved

@butschster
Copy link
Member

@Marmelatze Thx!

@Kreezag
Copy link
Member

Kreezag commented Aug 19, 2024

I hope the #244 PR will fix this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working database [mysql] docker
Projects
Status: No status
Development

No branches or pull requests

4 participants