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

Error using docker image on ARM processor #155

Open
kretep opened this issue Oct 18, 2024 · 1 comment
Open

Error using docker image on ARM processor #155

kretep opened this issue Oct 18, 2024 · 1 comment

Comments

@kretep
Copy link

kretep commented Oct 18, 2024

I'm getting this error when running sage inside a docker container on my mac (ARM processor), using the image in the GHCR.

root@bf99e12ee497:/app# sage --version
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
Trace/breakpoint trap

I suspect something might be wrong with the image. When I create an image myself, using a customized DockerFile and the ARM-built binaries, it works as expected.

@lazear
Copy link
Owner

lazear commented Oct 18, 2024

I believe we only publish linux images for x86_64/ARM. Looks like you have pulled the x86_64 one - ARM one is here: docker pull ghcr.io/lazear/sage:v0.14.7@sha256:7954ac4cf4d92b90fd105247a2b2a9967d2b34308071afb1f1feb7c6eb379642.
If you want to write a github workflow to publish a darwin/aarch64 docker image please submit a PR - otherwise I think it's a very niche use case :)

I would recommend just downloading the binaries and running them directly, or compiling yourself. Not much benefit to running sage in docker since it has no dependencies that need to be installed.

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

No branches or pull requests

2 participants