-
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
podman pull --arch and --platform values are full ignored #14293
Comments
Current behavior and even the API is different than docker. Docker uses
|
This looks dup of #14271 one. |
Yes, that is a dup of many other dups. GitHub doesn't seem good in showing duplicates. Please comment here: #12682 In my testing docker did not error out when doing In case your version of Docker behaves different, please mention the version. |
Actually, I am going to reopen this issue as it is slightly different. I will add the warnings as requested ✔️ |
Warn when the platform of a pulled image does not match the user-specified platform. The checks are only performed if the user requested a custom platform. Do not error out and warn only since there are many images in the wild that claim to be of another architecture. An error would break existing workloads; we did that once and had to revert immediately. Fixes: containers/podman/issues/14293 Signed-off-by: Valentin Rothberg <[email protected]>
Opened containers/common#1052. With this change, Podman behaves as follows (see the "WARNING: "):
|
Warn when the platform of a pulled image does not match the user-specified platform. The checks are only performed if the user requested a custom platform. Do not error out and warn only since there are many images in the wild that claim to be of another architecture. An error would break existing workloads; we did that once and had to revert immediately. Fixes: containers/podman/issues/14293 Signed-off-by: Valentin Rothberg <[email protected]>
The issue will be fixed with the next version of Podman (v4.2) |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Apparently you can pass any value to
--arch
when doing a pull as that argument would fully be ignores, making impossible to pull a specific architecture.Describe the results you received:
$ podman pull --arch xxx quay.io/ansible/python-base:latest Trying to pull quay.io/ansible/python-base:latest... Getting image source signatures Copying blob ... Copying config sha256:2d9a24aa7d131d57e581b2ffa2f8dfa2e58d12ccfdbc1fc18a0bc1904bf0c05e Writing manifest to image destination Storing signatures 2d9a24aa7d131d57e581b2ffa2f8dfa2e58d12ccfdbc1fc18a0bc1904bf0c05e
Describe the results you expected:
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/main/troubleshooting.md)
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: