podman manifest push --rm removes a wrong image #15033
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
This bug is reproduced when we execute the following command:
podman manifest add <manifest list> <images exist on local storage>
podman manifest push --rm <manifest list> dif:<directory>
If pushing succeeds, it is expected to remove only a manifest list.
However, manifest list remains on local storage and images are removed.
Steps to reproduce the issue:
Describe the results you received:
Manifest list remains on local storage and testimage are removed.
Describe the results you expected:
Only a manifest list is removed.
Additional information you deem important (e.g. issue happens only occasionally):
If
podman manifest add
chooses a image which are not exist on local storage,only manifest list are removed.
Output of
podman version
:Output of
podman info --debug
: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
Additional environment details (AWS, VirtualBox, physical, etc.):
Fedora36, KVM
The text was updated successfully, but these errors were encountered: