podman-container-prune(1) General Commands Manual podman-container-prune(1) (NAME) podman-container-prune - (SYNOPSIS) podman container prune [] (DESCRIPTION) podman container prune . (OPTIONS) --filter=filters . --filter : --filter label=test --filter until=10m. : +----------------+-----------------------------------+ | | | +----------------+-----------------------------------+ |annotation | | | | | | | | | | | | | | | | ( | | | | | | | | | [...]!=annotation | | | ) | | | . | +----------------+-----------------------------------+ |label | | | | | | | | | | | | | | | | ( | | | | | | | | | [...]!=label | | | ) | | | . | +----------------+-----------------------------------+ |until | | | | | | | | | | | | | | | | | | | | | | . | +----------------+-----------------------------------+ label . label=key label=key=value . label!=key label!=key=value . annotation annotation! . : label! AND label OR . until (Unix timestamp) Go ( 10m 1h30m) . --force, -f . false . -h, --help . false . (EXAMPLES) : $ podman container prune WARNING! This will remove all stopped containers. Are you sure you want to continue? [y/N] y 878392adf2e6c5c9bb1fc19b69d37d2e98c8abf9d539c0bce4b15b46bbcce471 37664467fbe3618bf9479c34393ac29c02696675addf1750f9e346581636cde7 ed0c6468b8e1cb641b4621d1fe30cb477e1fefc5c0bceb66feaf2f7cb50e5962 6ac6c8f0067b7a4682e6b8e18902665b57d1a0e07e885d9abcd382232a543ccd fff1c5b6c3631746055ec40598ce8ecaa4b82aef122f9e3a85b03b55c0d06c23 602d343cd47e7cb3dfc808282a9900a3e4555747787ec6723bb68cedab8384d5 : $ podman container prune -f 878392adf2e6c5c9bb1fc19b69d37d2e98c8abf9d539c0bce4b15b46bbcce471 37664467fbe3618bf9479c34393ac29c02696675addf1750f9e346581636cde7 ed0c6468b8e1cb641b4621d1fe30cb477e1fefc5c0bceb66feaf2f7cb50e5962 6ac6c8f0067b7a4682e6b8e18902665b57d1a0e07e885d9abcd382232a543ccd fff1c5b6c3631746055ec40598ce8ecaa4b82aef122f9e3a85b03b55c0d06c23 602d343cd47e7cb3dfc808282a9900a3e4555747787ec6723bb68cedab8384d5 : $ podman container prune --filter until="10m" WARNING! This will remove all stopped containers. Are you sure you want to continue? [y/N] y 3d366295e33d8cc612c4d873199bacadd55088d90d17dcafaa9a2d317ad50b4e (SEE ALSO) podman(1), podman-ps(1) (HISTORY) Brent Baude bbaude@redhat.com docs.docker.com Dan Walsh dwalsh@redhat.com podman-container-prune(1)