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

Doesn't work #155

Open
hasufell opened this issue Sep 10, 2021 · 2 comments
Open

Doesn't work #155

hasufell opened this issue Sep 10, 2021 · 2 comments

Comments

@hasufell
Copy link

$ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes                                                                      1.12h  Fri 14:16
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon

This command does nothing:

$ docker run --rm -ti arm32v7/debian uname -m                                                                                                 552ms  Fri 14:31
Unable to find image 'arm32v7/debian:latest' locally
latest: Pulling from arm32v7/debian
ff8c004d0dc8: Pull complete
Digest: sha256:094f57857f78e219136c9afbf4d683fc7c16f762cc1ae68e8b03100827aad939
Status: Downloaded newer image for arm32v7/debian:latest
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/amd64) and no specific platform was requested
$ docker run --platform linux/arm/v7 --rm -ti arm32v7/debian uname -m

No output, attaching to shell doesn't work.


Fedora 34, kernel 5.13.13-200.fc34.x86_64

@maccelf
Copy link

maccelf commented Nov 17, 2022

Does anyone know how to fix that ? I have the same issue on Fedora 36 and 37

@joharohl
Copy link

I had the same issue.

Reinstalling qemu-user-binfmt got it working again for me: sudo dnf reinstall qemu-user-binfmt.x86_64 .
The only difference in the binfmt files is that the flag F is added when running the register command.
My knowledge about what that flag actually does and how it would effect things are beyond me, but it seems to work as expected.

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

3 participants