-
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 prune
should report the reclaimed space
#8658
Comments
I poked at this for a little bit and got something maybe working (at least for reclaimed space for images) but I'm not sure on all of the specific requirements for this feature / if the maintainers want this. I can open a PR after I clean up the code more but I would want to know more of the specific requirements such as:
|
Reclaimed space should be from containers/images and volumes. Thanks for working on this. |
@bugaevc I haven't forgotten about this issue. I'm currently trying to wrap up a different PR so I haven't been focusing on this, but I plan to. |
Looks great. |
This change adds code to report the reclaimed space after a prune. Reclaimed space from volumes, images, and containers is recorded during the prune call in a PruneReport struct. These structs are collected into a slice during a system prune and processed afterwards to calculate the total reclaimed space. Closes containers#8658 Signed-off-by: Baron Lenardson <lenardson.baron@gmail.com>
/kind feature
Description
docker system prune
reports the reclaimed space at the end:But
podman system prune
doesn't seem output the same info.The text was updated successfully, but these errors were encountered: