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

not work in centos7 #162

Open
Mon-ius opened this issue Feb 15, 2024 · 1 comment
Open

not work in centos7 #162

Mon-ius opened this issue Feb 15, 2024 · 1 comment

Comments

@Mon-ius
Copy link

Mon-ius commented Feb 15, 2024

[m0nius@centos-3 ~]$ sudo docker run --privileged --rm tonistiigi/binfmt --install all
Unable to find image 'tonistiigi/binfmt:latest' locally
latest: Pulling from tonistiigi/binfmt
8d4d64c318a5: Pull complete
e9c608ddc3cb: Pull complete
Digest: sha256:66e11bea77a5ea9d6f0fe79b57cd2b189b5d15b93a2bdb925be22949232e4e55
Status: Downloaded newer image for tonistiigi/binfmt:latest
error: no such device
cannot mount binfmt_misc filesystem at /proc/sys/fs/binfmt_misc
main.run
/src/cmd/binfmt/main.go:183
main.main
/src/cmd/binfmt/main.go:170
runtime.main
/usr/local/go/src/runtime/proc.go:250
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1571

@yxing-xyz
Copy link

yxing-xyz commented Mar 11, 2024

I don’t know what version you have. You need a version higher than centos7 to use this. Maybe your kernel module is not loaded, you can load it first and then try

sudo modprobe binfmt_misc

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