-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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 docker image from another arhitecture on Ubuntu 21.10 (qemu: qemu_thread_create: Operation not permitted) #42963
Comments
Not sure if this is an issue with docker or an issue with qemu. Does it work if you start the container with seccomp disabled ( |
Yes. It is working:
|
I upgraded Docker to version 20.10.10 today (was 20.10.9) and the problem is no longer reproducible. |
Thanks for testing, and yes, #42836 was the issue I was thinking of, and looks to be confirmed by your steps to disable seccomp (and the upgrade to 20.10.10) From the above, it looks like this is resolved in 20.10.10, so let me close this one, thanks! |
QEMU 6.1.0 fails with Docker 20.10.9. It is fixed in Docker 20.10.10. * moby/moby#42963 * moby/moby#42836
Fedora containers fail with QEMU 6.1.0 and Docker 20.10.9. It can be worked around with option '--security-opt seccomp=unconfined', but that is not allowed on GitHub Actions. Anyway, it is fixed in Docker 20.10.10. * moby/moby#42963 * moby/moby#42836
How can this be worked around for |
@ell1e I think this should be fixed for |
Red Hat currently ships 20.10.9 still, so that information just isn't very useful to me right now. And attempting security-opt with |
Fedora containers fail with QEMU 6.1.0 and Docker 20.10.9. It can be worked around with option '--security-opt seccomp=unconfined', but that is not allowed on GitHub Actions. Anyway, it is fixed in Docker 20.10.10. * moby/moby#42963 * moby/moby#42836
Description
Can't run docker image from another arhitecture on Ubuntu 21.10 (Ubuntu 21.04 works correctly).
Executing binaries for another arhitecture without docker works correctly.
Steps to reproduce the issue:
apt install qemu-user-static
)docker run --rm -it --platform arm64 alpine arch
)Describe the results you received:
Docker container is not started with
Operation not permitted
error:Describe the results you expected:
Expected result (same as on Ubuntu 21.04):
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Physical workstation (Intel i7-8700K) with fresh Ubuntu 21.10 installation.
The text was updated successfully, but these errors were encountered: