quick-keyboard-83126
11/03/2022, 2:35 AM% docker run --platform linux/arm/v7 -it busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
399f7f376f22: Pull complete
Digest: sha256:6bdd92bf5240be1b5f3bf71324f5e371fe59f0e153b27fa1f1620f78ba16963c
Status: Downloaded newer image for busybox:latest
exec /bin/sh: exec format error
fast-garage-66093
11/03/2022, 2:49 AMarm/v7
as 32-bit platform. It works if you use linux/arm64/v8
linux/arm64
quick-keyboard-83126
11/03/2022, 2:49 AM% docker run --platform linux/arm/v8 -it busybox
exec /bin/sh: exec format error
fast-garage-66093
11/03/2022, 2:50 AMarm64
quick-keyboard-83126
11/03/2022, 2:50 AM% docker run --platform linux/arm64/v8 -it busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
15a8001affa7: Pull complete
Digest: sha256:6bdd92bf5240be1b5f3bf71324f5e371fe59f0e153b27fa1f1620f78ba16963c
Status: Downloaded newer image for busybox:latest
/ #
linux/arm/v7
as one of the things they're testing.fast-garage-66093
11/03/2022, 2:51 AMdocker run --privileged --rm tonistiigi/binfmt --install arm
arm64
on Intel machines, and amd64
on ARM machinesquick-keyboard-83126
11/03/2022, 2:53 AMjsoref@jsoref-mbp earthly % docker run --privileged --rm tonistiigi/binfmt --install arm
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: arm OK
{
"supported": [
"linux/arm64",
"linux/amd64",
"linux/arm/v7",
"linux/arm/v6"
],
"emulators": [
"qemu-arm",
"qemu-x86_64"
]
}
jsoref@jsoref-mbp earthly % docker run --platform linux/arm/v7 -it busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
Digest: sha256:6bdd92bf5240be1b5f3bf71324f5e371fe59f0e153b27fa1f1620f78ba16963c
Status: Downloaded newer image for busybox:latest
/ #
fast-garage-66093
11/03/2022, 2:53 AMquick-keyboard-83126
11/03/2022, 2:54 AMfast-garage-66093
11/03/2022, 2:55 AMquick-keyboard-83126
11/03/2022, 2:56 AMfast-garage-66093
11/03/2022, 2:56 AMquick-keyboard-83126
11/03/2022, 2:59 AMfast-garage-66093
11/03/2022, 2:59 AMquick-keyboard-83126
11/03/2022, 3:00 AM