-
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
Inconsistent treatment of manifest lists in "podman run" #7233
Comments
@QiWang19 PTAL |
A friendly reminder that this issue had no activity for 30 days. |
I would think not, but will wait for @nalind to respond. |
Podman haven't implemented to pick one image from the list of images from a manifest list, just have checked with @nalind that had been supported in cri-o, will look into it. |
No, it isn't expected. It falls out of the current implementation, where the name is associated with the manifest list and not the images that are mentioned in it. I think we have most of what would be needed to make this work if the runnable image was in local storage (I think the only missing piece is tagging the runnable image with a digested reference that matches the name that's been assigned to the list, e.g. repository@digest), but the reproducer script isn't pulling them down ( |
if the manifest list exists locally, try with |
I can rmi the local manifest as a workaround. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
A
podman run
with the image pointing to a local manifest list will fail.A
podman run
with the image pointing to a manifest list in a registry will succeed.At best this is confusing. At worst, it means there is no way to extend a manifest list, since it will be treated differently if created locally or pulled, and I have to remove it in order to use it.
Steps to reproduce the issue:
Reproducer script:
Edit the reproducer, substituting an unused name that you can push to for
M
.Run the reproducer
Wonder why the same
podman run
command fails or succeeds depending on local stateDescribe the results you received:
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
):Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: