mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
0b34b4a59c
podman system prune would leave pods be, and not prune them if they were stopped. Fix this by adding a `podman pod prune` command that prunes stopped pods similarly to containers. Signed-off-by: Peter Hunt <pehunt@redhat.com>
795 B
795 B
% % podman-pod-prune (1) % Peter Hunt % April 2019
NAME
podman-pod-prune - Remove all stopped pods
SYNOPSIS
podman pod prune [-h|--help]
DESCRIPTION
podman pod prune removes all stopped pods from local storage.
Examples
Remove all stopped pods from local storage
$ sudo podman pod prune
22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7
2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9
49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674
5ca429f37fb83a9f54eea89e3a9102b7780a6e6ae5f132db0672da551d862c4a
6bb06573787efb8b0675bc88ebf8361f1a56d3ac7922d1a6436d8f59ffd955f1
SEE ALSO
podman-pod(1), podman-pod-ps(1), podman-pod-rm(1)
HISTORY
April 2019, Originally compiled by Peter Hunt (pehunt at redhat dot com)