-
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 system df' results in Error: invalid reference format #7015
Comments
It looks like you are using rootful and rootless podman here. |
What brought me to using sudo is that it doesn't work without it.
I get that on a Fedora 32 baremetal and clean installed Fedora 33 VM. But a different F32 baremetal system, it works. I'm not sure what's different among them. |
OK, that is the bug. Can you confirm that you have an untagged image on your system?
|
When an image has no name/tag system df will error because it tries to parse an empty name. This commit makes sure we only parse non empty names and set the repository and tag to "<none>" otherwise. Closes containers#7015 Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Confirmed. |
When an image has no name/tag system df will error because it tries to parse an empty name. This commit makes sure we only parse non empty names and set the repository and tag to "<none>" otherwise. Closes containers#7015 Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
sudo podman system df
always reports zero valuesSteps to reproduce the issue:
load or obtain an image, e.g. podman load -i /tmp/test.tar
`sudo podman
Describe the results you received:
Describe the results you expected:
Seems like there should be some non-zero values reported for
podman system df
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.):
Reproduces on baremetal and VM. Fedora 32 and Rawhide. Btrfs and XFS.
The text was updated successfully, but these errors were encountered: