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

image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) #115

Open
alanmoleapfive opened this issue Dec 1, 2022 · 0 comments

Comments

@alanmoleapfive
Copy link

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
exec /bin/uname: no such file or directory

docker run --rm riscv64/alpine:20221110 uname -a
WARNING: The requested image's platform (linux/riscv64) does not match the detected host platform (linux/amd64) and no specific platform was requested
Linux a72f961e7dc3 5.4.0-132-generic #148~18.04.1-Ubuntu SMP Mon Oct 24 20:41:14 UTC 2022 riscv64 Linux
docker run --rm s390x/alpine uname -a
WARNING: The requested image's platform (linux/s390x) does not match the detected host platform (linux/amd64) and no specific platform was requested
exec /bin/uname: no such file or directory

系统ubuntu18.04
docker -v
Docker version 20.10.21, build baeda1f
uname -r
5.4.0-132-generic

docker run --privileged --rm tonistiigi/binfmt --version
binfmt/a161c41 qemu/v7.0.0 go/1.18.5

ls -al /proc/sys/fs/binfmt_misc/
total 0
drwxr-xr-x 2 root root 0 11月 17 15:25 .
dr-xr-xr-x 1 root root 0 11月 17 15:25 ..
-rw-r--r-- 1 root root 0 11月 30 08:54 python2.7
-rw-r--r-- 1 root root 0 11月 21 18:06 python3.6
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-aarch64
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-alpha
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-arm
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-armeb
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-cris
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-m68k
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-microblaze
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-mips
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-mips64
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-mips64el
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-mipsel
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-ppc
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-ppc64
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-ppc64abi32
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-ppc64le
-rw-r--r-- 1 root root 0 12月 1 09:53 qemu-riscv64
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-s390x
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-sh4
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-sh4eb
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-sparc
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-sparc32plus
-rw-r--r-- 1 root root 0 11月 21 18:06 qemu-sparc64
--w------- 1 root root 0 11月 30 08:54 register
-rw-r--r-- 1 root root 0 11月 30 08:54 status

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

1 participant