server icon indicating copy to clipboard operation
server copied to clipboard

Unable to run arm64 image

Open Marmelatze opened this issue 1 year ago • 5 comments

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

Marmelatze avatar Jul 08 '24 13:07 Marmelatze

Hmm, thx!

butschster avatar Jul 08 '24 13:07 butschster

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

Marmelatze avatar Jul 09 '24 07:07 Marmelatze

Looks like the dolt issue has been resolved

roxblnfk avatar Jul 12 '24 18:07 roxblnfk

@Marmelatze Thx!

butschster avatar Jul 12 '24 18:07 butschster

I hope the #244 PR will fix this issue

Kreezag avatar Aug 19 '24 06:08 Kreezag