Merge pull request #1104 from kernelkit/prune-dangling-containers

containers: prune dangling images
This commit is contained in:
Joachim Wiberg
2025-08-20 17:30:12 +02:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -302,6 +302,9 @@ delete()
log "$name: calling podman rm -vif ..."
podman rm -vif "$name" >/dev/null 2>&1
[ -n "$quiet" ] || log "Container $name has been removed."
cnt=$(podman image prune -f | wc -l)
log "Pruned $cnt image(s)"
}
waitfor()
@@ -757,6 +760,8 @@ case $cmd in
done
rm -f "$pidfile"
cnt=$(podman image prune -f | wc -l)
log "setup: pruned $cnt image(s)"
;;
shell)
if [ -z "$name" ]; then
+2
View File
@@ -14,6 +14,8 @@ All notable changes to the project are documented in this file.
### Fixes
- containers: prune dangling images to reclaim disk space (#1098)
[v25.06.0][] - 2025-07-01
-------------------------