Skip to content

Conversation

@Elcoid
Copy link

@Elcoid Elcoid commented Nov 5, 2025

This fixes issue 215

Without the --platform option, docker fails with
"docker: no matching manifest for linux/amd64 in the manifest list entries".
With the option, everything works as intended.

Without the --platform option, docker fails with
"docker: no matching manifest for linux/amd64 in the manifest list entries".
With the option, eveything works as intended.
$ 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


```
$ 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

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

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

Successfully merging this pull request may close these issues.

docker: no matching manifest for linux/amd64 in the manifest list entries

2 participants