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

installing: arm64 cannot register "/usr/bin/qemu-aarch64" to /proc/sys/fs/binfmt_misc/register: write /proc/sys/fs/binfmt_misc/register: no such file or directory #138

Open
trueToastedCode opened this issue Jul 14, 2023 · 5 comments

Comments

@trueToastedCode
Copy link

docker run --privileged --rm tonistiigi/binfmt --install arm64            
Unable to find image 'tonistiigi/binfmt:latest' locally
latest: Pulling from tonistiigi/binfmt
6dda554f4baf: Pull complete 
2b0720d7a501: Pull complete 
Digest: sha256:66e11bea77a5ea9d6f0fe79b57cd2b189b5d15b93a2bdb925be22949232e4e55
Status: Downloaded newer image for tonistiigi/binfmt:latest
installing: arm64 cannot register "/usr/bin/qemu-aarch64" to /proc/sys/fs/binfmt_misc/register: write /proc/sys/fs/binfmt_misc/register: no such file or directory
{
  "supported": [
    "linux/arm64",
    "linux/amd64",
    "linux/riscv64",
    "linux/ppc64le",
    "linux/s390x",
    "linux/386",
    "linux/mips64le",
    "linux/mips64",
    "linux/arm/v7",
    "linux/arm/v6"
  ],
  "emulators": [
    "qemu-arm",
    "qemu-i386",
    "qemu-mips64",
    "qemu-mips64el",
    "qemu-ppc64le",
    "qemu-riscv64",
    "qemu-s390x",
    "qemu-x86_64"
  ]
}
@tonistiigi
Copy link
Owner

It looks like you are already on arm64 system?

@stan-nautilus
Copy link

Im having the same issue, currently running on a MacBook Pro M2

Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:45 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6020 arm64

@tonistiigi
Copy link
Owner

If you are already on arm64 then why are you trying to install arm64 emulator?

@trueToastedCode
Copy link
Author

trueToastedCode commented Nov 29, 2023

If you are already on arm64 then why are you trying to install arm64 emulator?

i was compiling some artifical intelligence related binaries which didn't work on MacOS arm64 but does on linux arm64.

@tonistiigi
Copy link
Owner

Linux arm64 binaries run natively in Docker on your M* system. They don't need another emulation layer.

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