github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/docs/source/markdown/podman-pod-prune.1.md (about)

     1  % podman-pod-prune(1)
     2  
     3  ## NAME
     4  podman-pod-prune - Remove all stopped pods and their containers
     5  
     6  ## SYNOPSIS
     7  **podman pod prune**
     8  
     9  ## DESCRIPTION
    10  **podman pod prune** removes all stopped pods and their containers from local storage.
    11  
    12  ## OPTIONS
    13  
    14  **--force**, **-f**
    15  Force removal of all running pods and their containers. The default is false.
    16  
    17  ## EXAMPLES
    18  Remove all stopped pods and their containers from local storage
    19  ```
    20  $ sudo podman pod prune
    21  22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7
    22  2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9
    23  49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674
    24  5ca429f37fb83a9f54eea89e3a9102b7780a6e6ae5f132db0672da551d862c4a
    25  6bb06573787efb8b0675bc88ebf8361f1a56d3ac7922d1a6436d8f59ffd955f1
    26  ```
    27  
    28  ## SEE ALSO
    29  podman-pod(1), podman-pod-ps(1), podman-pod-rm(1)
    30  
    31  ## HISTORY
    32  April 2019, Originally compiled by Peter Hunt (pehunt at redhat dot com)