github.com/containers/podman/v5@v5.1.0-rc1/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** [*options*]
     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  
    19  Remove all stopped pods and their containers from local storage.
    20  ```
    21  $ sudo podman pod prune
    22  22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7
    23  2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9
    24  49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674
    25  5ca429f37fb83a9f54eea89e3a9102b7780a6e6ae5f132db0672da551d862c4a
    26  6bb06573787efb8b0675bc88ebf8361f1a56d3ac7922d1a6436d8f59ffd955f1
    27  ```
    28  
    29  ## SEE ALSO
    30  **[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**
    31  
    32  ## HISTORY
    33  April 2019, Originally compiled by Peter Hunt (pehunt at redhat dot com)