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
docker run -it --rm arm64v8/ubuntu:focal on x86_64 with QEMU works with old Docker but it doesn't work with recent Docker:
$ docker run -it --rm arm64v8/ubuntu:focalUnable to find image 'arm64v8/ubuntu:focal' locallyfocal: Pulling from arm64v8/ubuntudocker: no matching manifest for linux/amd64 in the manifest list entries.See 'docker run --help'.
We need explicit --platform=linux/arm64:
$ docker run --platform=linux/arm64 -it --rm arm64v8/ubuntu:focalUnable to find image 'arm64v8/ubuntu:focal' locallyfocal: Pulling from arm64v8/ubuntu1b9f3c55f9d4: Already exists Digest: sha256:50e92a9f66f151e31be7e6c13dac8a847afcc663d54ffb59e246cd569abd4756Status: Downloaded newer image for arm64v8/ubuntu:focalroot@71b1efed9b28:/#
Component(s)
Packaging, Release
The text was updated successfully, but these errors were encountered:
…r run` (#44481)
### Rationale for this change
It seems that recent Docker requires `--platform` to run different architecture images with QEMU.
### What changes are included in this PR?
Use `--platform` explicitly.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #44480
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Describe the enhancement requested
docker run -it --rm arm64v8/ubuntu:focal
on x86_64 with QEMU works with old Docker but it doesn't work with recent Docker:We need explicit
--platform=linux/arm64
:Component(s)
Packaging, Release
The text was updated successfully, but these errors were encountered: