-
Notifications
You must be signed in to change notification settings - Fork 229
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
Can't run quemu-static on arm64v8/ubuntu:20.04 #158
Comments
You need to run |
I tried to follow the instructions in your article, but it seems there's still something missinig:
which is unexpected |
To avoid the warning you need to pass
|
I see, the warning was just saying that the docker image and the host machine have different architecture, the actuall error disappeared after running your command: |
Description:
I am trying to reproduce the first example of this simple guide:
https://www.balena.io/blog/building-arm-containers-on-any-x86-machine-even-dockerhub/
on an arm64v8/ubuntu:20.04 image.
But I get an incompatible ELF error when building
Step tu reproduce
Docker file:
On shell:
docker build .
Describe the results you received:
---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested ---> Running in 8fb3cc786c60 qemu-arm-static: /bin/echo: Invalid ELF image for this architecture
Describe the results you expected:
Hello, world!
Environment:
I am on a fresh Ubuntu:20:04
Output of
docker version
,podman version
orsingularity version
Additional information optionally:
I don't have podman/singularity
The text was updated successfully, but these errors were encountered: