-
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 --format "{{json .}}" doesn't output "Size" and "Reclaimable" columns #14769
Comments
Thanks for reaching out, @joachimBurket!
Docker prints these fields, so Podman should too. |
@ashley-cui @mheon looks like a nice issue for interns to get familiar with the formatting code. |
I can try and give this a shot in my free time |
It's yours, @jakecorrenti. Thanks! |
I took a quick look at this. @jakecorrenti is correct the exporting of these flags is the problem The problem is the func |
Previously, `podman system df --format "{{json .}}"` would not output `Size` and `Reclaimable` like `podman system df` would. ``` {"Type":"Images","Total":5,"Active":0,"Size":39972240,"Reclaimable":39972240} {"Type":"Containers","Total":0,"Active":0,"Size":0,"Reclaimable":0} {"Type":"Local Volumes","Total":0,"Active":0,"Size":0,"Reclaimable":0} ``` Closes: containers#14769 Signed-off-by: Jake Correnti <[email protected]>
Thanks @jakecorrenti ! 🎉 |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Steps to reproduce the issue:
podman system df
podman system df --format "{{json .}}}"
Describe the results you received:
Describe the results you expected:
The
podman system df --format "{{json .}}}"
command should also output theSize
andReclaimable
fields.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
):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.):
Physical
The text was updated successfully, but these errors were encountered: