-
Notifications
You must be signed in to change notification settings - Fork 785
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
Buildah rmi untagged/removed the wrong image/manifest-list #3490
Comments
@nalind PTAL, this seems to me a particularly bad problem (surprising to users) 😕 I double-checked and it does reproduce under F34 using a |
Yes, I found this right after running tests against script I'm working on. I was specifically verifying the new |
@nalind Yes this is the correct issue , same issue persists with podman and has been reported with upstream. I'll take care for both of them containers/podman#11344 |
@cevich You should use |
Oh okay that makes sense (and thanks for taking care of the |
@cevich I'll fix the documentation as well as soon as the |
Oh no worries, I can help there, focus on the code 😁 |
Description
When removing (untagging) a specific manifest-list, it's arguably intuitive to expect only the named item to be removed. That's not what's happening as of 4d22922
Steps to reproduce the issue:
podman system reset --force
make bin/buildah
bin/buildah pull alpine
bin/buildah manifest create foobar
bin/buildah manifest add foobar alpine
bin/buildah tag foobar foobar2
bin/buildah rmi foobar2
Describe the results you received:
Describe the results you expected:
Only the
foobar2
manifest list should have been removed.Output of
rpm -q buildah
orapt list buildah
:buildah compiled from 4d22922
Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:N/A
Output of
cat /etc/*release
:Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:unmodified from install of
containers-common-1-20.fc33.noarch
The text was updated successfully, but these errors were encountered: