podman-system-prune(1) General Commands Manual podman-system-prune(1) (NAME) podman-system-prune - (SYNOPSIS) podman system prune [] (DESCRIPTION) podman system prune ( /dangling ) (build containers) . --all . . (volumes) . --volumes . . --build . (OPTIONS) --all, -a ( ). --build . : . --external json . (transient storage mode) . . . podman system prune --external . --all --filter . --filter= . --filter : --filter label=test --filter until=10m. : +----------------+--------------------------------+ | | | +----------------+--------------------------------+ |label | | | | | | | | | | | | | | | | | | | | | | ( | | | | | | | | | label!=[...] | | | | | | ). | +----------------+--------------------------------+ |until | | | | | | | | | | | | | | | | | | | | | | | | | | | | . | +----------------+--------------------------------+ label : label=key label=key=value label!=key label!=key=value . until Go ( 10m 1h30m) . --force, -f . --help, -h . --volumes . (EXAMPLES) : $ podman system prune WARNING! This command removes: - all stopped containers - all networks not used by at least one container - all dangling images - all dangling build cache Are you sure you want to continue? [y/N] y Total reclaimed space: 0B : $ podman system prune --all WARNING! This command removes: - all stopped containers - all networks not used by at least one container - all images without at least one container associated with them - all build cache Are you sure you want to continue? [y/N] y Deleted Images ce21f047f73644dcb9cd55ad247433fb47ade48ad4f4e676881fbcb2d5735c76 c874afc1f445044eaa821da0c32328707406e546a688d8c4c22587a5f88a1992 2fce09cfad57c6de112654eeb6f6da1851f3ced1cff7ac0002378642c2c7ca84 0cd6d2e072175191823999cd189f8d262ba5e460271095570d8cffb1d9072e9a 172bdaffe628cc7b7f8b7b6695438afc612a9833382f5968a06740a3804c3b64 bf07fec943ec23054f3b81c0e65926a1c83dc82c50933dc6372c60e09fdb2d4f b2f735cbb571dd6a28e66455af0623ecc81f9c5b74259d3e04b3bac3b178e965 cea2ff433c610f5363017404ce989632e12b953114fefc6f597a58e813c15d61 Deleted Networks podman-default-kube-network Total reclaimed space: 3.372GB : $ podman system prune --build WARNING! This command removes: - all stopped containers - all networks not used by at least one container - all build containers - all dangling images - all dangling build cache Are you sure you want to continue? [y/N] y Deleted Containers a8bfed41990114767c933d27bf5508b01cdc0f641dc36037b349648347c6ea64 Deleted Images 055733a33e7a78efa27d3c682df97a9e0489133bef071745144c8d0edda2d708 Total reclaimed space: 1.4GB : $ podman system prune --filter label=role=cleanup WARNING! This command removes: - all stopped containers - all networks not used by at least one container - all dangling images - all dangling build cache Are you sure you want to continue? [y/N] y Deleted Containers 5cd96fb787274db888f8b587c3690be1edea25b7f66b030037c528e2cea10b34 Total reclaimed space: 24.55kB until: $ podman system prune --filter until=2m WARNING! This command removes: - all stopped containers - all networks not used by at least one container - all dangling images - all dangling build cache Are you sure you want to continue? [y/N] y Deleted Containers a12f9f6f2d901bc145c1e2c27dc8e5e2d04050854f4d9e01a6e10b1019e2d345 0d08f2e467cbff04b63ccd83efeb6ccc6161f54c27d5100d1194defe7ea73cf7 815dc403e1bc85bfa4a9d3184cbbe77fd019ea66780bf0b42e8726d5956d9bd3 Total reclaimed space: 74.14kB --force: $ podman system prune --force Total reclaimed space: 0B (SEE ALSO) podman(1), podman-system(1) (HISTORY) Dan Walsh (dwalsh at redhat dot com) docs.docker.com Dan Walsh (dwalsh at redhat dot com) podman-system-prune(1)