-
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 images --filter "dangling=true" crashes on no untagged images #2246
Comments
ty @ktdreyer |
@ktdreyer Im not able to exactly reproduce on my machine, but I was able to trip it elsewise. Would you be willing to try a patch against master? |
I'm able to reproduce it with |
the previous method required a populated image template to create the headers and always selected the first image in the slice. when dealing with dangling images, they are not populated and therefore would panic. Resolves: containers#2246 Signed-off-by: baude <[email protected]>
if someone wants to try -> #2297 |
That pull request didn't apply cleanly to 1.0.0, but I was able to massage it a bit and backport it as a patch for the Fedora 29 package in a copr repo. I'm happy to confirm that it does resolve the problem. Thanks! |
ty for the confirmation! |
/kind bug
Description
podman images --filter "dangling=true"
crashes if I have no untagged images. If I have untagged images, it works, and if I have no untagged images, it crashes.Steps to reproduce the issue:
This works:
So I delete all the untagged ones:
Then I run with
--filter "dangling=true"
again:Describe the results you expected:
podman should exit successfully when there are no untagged images.
Additional information you deem important (e.g. issue happens only occasionally):
Crash reproduces 100% for me in my environment.
Output of
podman version
:Output of
podman info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Fedora 29 on my laptop
The text was updated successfully, but these errors were encountered: