Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,32 @@ standard_init_linux.go:211: exec user process caused "exec format error"

$ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

$ docker run --rm -t arm64v8/ubuntu uname -m
$ docker run --rm -t --platform linux/arm64v8 arm64v8/ubuntu uname -m
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't work either:

$ docker run --rm -t --platform linux/arm64v8 arm64v8/ubuntu uname -m
Unable to find image 'arm64v8/ubuntu:latest' locally
latest: Pulling from arm64v8/ubuntu
docker: no matching manifest for linux/arm64v8 in the manifest list entries.
See 'docker run --help'.

After changing the --platform to just arm64 it "works" as intended:

$ docker run --rm -t --platform linux/arm64 arm64v8/ubuntu uname -m
Unable to find image 'arm64v8/ubuntu:latest' locally
latest: Pulling from arm64v8/ubuntu
97dd3f0ce510: Pull complete
Digest: sha256:6ef519d3df37418310d265d26fa804357ff50c9e721e9b90823ff294938023d8
Status: Downloaded newer image for arm64v8/ubuntu:latest
exec /usr/bin/uname: exec format error

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$ docker run --rm -t --platform linux/arm64v8 arm64v8/ubuntu uname -m
$ docker run --rm -t --platform linux/arm64 arm64v8/ubuntu uname -m

aarch64
```

It works on many architectures and OS container images.

```
$ docker run --rm -t arm32v6/alpine uname -m
$ docker run --rm -t --platform linux/arm32v6 arm32v6/alpine uname -m
Copy link

@Alestrix Alestrix Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above:

$ docker run --rm -t --platform linux/arm32v6 arm32v6/alpine uname -m
Unable to find image 'arm32v6/alpine:latest' locally
latest: Pulling from arm32v6/alpine
docker: no matching manifest for linux/arm32v6 in the manifest list entries.
See 'docker run --help'.
$ docker run --rm -t --platform linux/arm arm32v6/alpine uname -m
Unable to find image 'arm32v6/alpine:latest' locally
latest: Pulling from arm32v6/alpine
dd0740468c9e: Pull complete
Digest: sha256:e86713155975b687d8ee532b1580704c4d06e46349d43f915e237d0d1392b5f9
Status: Downloaded newer image for arm32v6/alpine:latest
exec /bin/uname: exec format error

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$ docker run --rm -t --platform linux/arm32v6 arm32v6/alpine uname -m
$ docker run --rm -t --platform linux/arm arm32v6/alpine uname -m

armv7l

$ docker run --rm -t ppc64le/debian uname -m
$ docker run --rm -t --platform linux/ppc64le ppc64le/debian uname -m
ppc64le

$ docker run --rm -t s390x/ubuntu uname -m
$ docker run --rm -t --platform linux/s390x s390x/ubuntu uname -m
s390x

$ docker run --rm -t arm64v8/fedora uname -m
$ docker run --rm -t --platform linux/arm64v8 arm64v8/fedora uname -m
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$ docker run --rm -t --platform linux/arm64v8 arm64v8/fedora uname -m
$ docker run --rm -t --platform linux/arm64 arm64v8/fedora uname -m

aarch64

$ docker run --rm -t arm32v7/centos uname -m
$ docker run --rm -t --platform linux/arm32v7 arm32v7/centos uname -m
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$ docker run --rm -t --platform linux/arm32v7 arm32v7/centos uname -m
$ docker run --rm -t --platform linux/arm arm32v7/centos uname -m

armv7l

$ docker run --rm -t ppc64le/busybox uname -m
$ docker run --rm -t --platform linux/ppc64le ppc64le/busybox uname -m
ppc64le

$ docker run --rm -t i386/ubuntu uname -m
$ docker run --rm -t --platform linux/i386 i386/ubuntu uname -m
x86_64
```

Expand Down