-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker compatibility --platform doesn't work #10977
Comments
Thanks for reaching out, @fugkco.
This looks correct to me.
Are you mixing docker and podman? It may be a lack of morning coffee but I do not understand the problem yet. Can you elaborate a bit more? As far as I can see, Podman behaves correctly and pulls the arm64 image. I tested Docker 20.10.6 which is also pulling down the correct.
You're using |
Hi @vrothberg, Thanks for your time! The issue is that when I point docker-client to
Here I am using docker client pointed to podman to pull the I put in the |
@fugkco, thanks for clarifying. I will have a look and provide a fix. |
Opened #10979 |
Handle the platform parameter correctly. The parameter was only parsed in presence of credentials and the code was a bit complex. Also add a regression test. Fixes: containers#10977 Signed-off-by: Valentin Rothberg <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Seems using the
--platform
tag via docker doesn't pull the expected image.Steps to reproduce the issue:
Use podman to pull an arm64 image, and notice that it works fine:
Compare with to pulling with docker, which pulls the amd64:
Describe the results you received:
Pulled image is
amd64
Describe the results you expected:
Expect docker pull to pull the platform requested, in above case
arm64
.Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Not checked with the latest version (not in a position to upgrade right now sadly), but had a look through the changelog and nothing springs out that would have addressed this.
Additional environment details (AWS, VirtualBox, physical, etc.):
Physical
The text was updated successfully, but these errors were encountered: