You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run amd64/ubuntu on the arm64 host , it warn me The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
#26
Open
JunelanMe opened this issue
Jun 4, 2024
· 1 comment
root@armbian:~/olbat# uname -a
Linux armbian 5.10.215-ophub #1 SMP PREEMPT Thu Apr 25 11:22:33 EDT 2024 aarch64 aarch64 aarch64 GNU/Linux
root@armbian:~/olbat# lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: ARM
Model name: Cortex-A53
Model: 4
Thread(s) per core: 1
Core(s) per cluster: 4
Socket(s): -
Cluster(s): 1
Stepping: r0p4
CPU(s) scaling MHz: 60%
CPU max MHz: 2016.0000
CPU min MHz: 100.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Not affected
Spectre v1: Mitigation; __user pointer sanitization
Spectre v2: Not affected
Srbds: Not affected
Tsx async abort: Not affected
root@armbian:~/olbat# docker run --rm --privileged aptman/qus -s -- -p x86_64
cat ./qemu-binfmt-conf.sh | sh -s -- --path=/qus/bin -p x86_64 --suffix -static
Setting /qus/bin/qemu-x86_64-static as binfmt interpreter for x86_64
sh: write error: File exists
root@armbian:~/olbat# docker run --rm -it amd64/ubuntu:bionic bash
Unable to find image 'amd64/ubuntu:bionic' locally
bionic: Pulling from amd64/ubuntu
7c457f213c76: Pull complete
Digest: sha256:dca176c9663a7ba4c1f0e710986f5a25e672842963d95b960191e2d9f7185ebe
Status: Downloaded newer image for amd64/ubuntu:bionic
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
I can not run the amd64 on my arm64 hosts through aptman/qus
Question
PS: I notice the README of the aptman/qus Setup notice following info , So I did not install the qemu-user-static in my host , Is it need to install the qemu-user-static in my host ?
`
The required qemu-*-static binaries (which are all included in the image) will be loaded and registered. The container will then exit. From there on, images and/or binaries for foreign architectures can be executed.
Optional argument TARGET_ARCH is the target architecture to be translated through QEMU. If it is omitted, all available targets will be registered and loaded. The supported values are the following:
`
The text was updated successfully, but these errors were encountered:
Host info
root@armbian:~/olbat# uname -a
Linux armbian 5.10.215-ophub #1 SMP PREEMPT Thu Apr 25 11:22:33 EDT 2024 aarch64 aarch64 aarch64 GNU/Linux
root@armbian:~/olbat# lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: ARM
Model name: Cortex-A53
Model: 4
Thread(s) per core: 1
Core(s) per cluster: 4
Socket(s): -
Cluster(s): 1
Stepping: r0p4
CPU(s) scaling MHz: 60%
CPU max MHz: 2016.0000
CPU min MHz: 100.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Not affected
Spectre v1: Mitigation; __user pointer sanitization
Spectre v2: Not affected
Srbds: Not affected
Tsx async abort: Not affected
root@armbian:~/olbat# docker run --rm --privileged aptman/qus -s -- -p x86_64
cat ./qemu-binfmt-conf.sh | sh -s -- --path=/qus/bin -p x86_64 --suffix -static
Setting /qus/bin/qemu-x86_64-static as binfmt interpreter for x86_64
sh: write error: File exists
root@armbian:~/olbat# cat /proc/sys/fs/binfmt_misc/qemu-x86_64
enabled
interpreter /qus/bin/qemu-x86_64-static
flags: F
offset 0
magic 7f454c4602010100000000000000000002003e00
mask fffffffffffefe00fffffffffffffffffeffffff
Issues:
Then I run
root@armbian:~/olbat# docker run --rm -it amd64/ubuntu:bionic bash
Unable to find image 'amd64/ubuntu:bionic' locally
bionic: Pulling from amd64/ubuntu
7c457f213c76: Pull complete
Digest: sha256:dca176c9663a7ba4c1f0e710986f5a25e672842963d95b960191e2d9f7185ebe
Status: Downloaded newer image for amd64/ubuntu:bionic
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
I can not run the amd64 on my arm64 hosts through aptman/qus
Question
PS: I notice the README of the aptman/qus Setup notice following info , So I did not install the qemu-user-static in my host , Is it need to install the qemu-user-static in my host ?
`
The required qemu-*-static binaries (which are all included in the image) will be loaded and registered. The container will then exit. From there on, images and/or binaries for foreign architectures can be executed.
Optional argument TARGET_ARCH is the target architecture to be translated through QEMU. If it is omitted, all available targets will be registered and loaded. The supported values are the following:
`
The text was updated successfully, but these errors were encountered: