github.com/vieux/docker@v0.6.3-0.20161004191708-e097c2a938c7/docs/reference/commandline/container_prune.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "container prune"
     4  description = "Remove all stopped containers"
     5  keywords = [container, prune, delete, remove]
     6  [menu.main]
     7  parent = "smn_cli"
     8  +++
     9  <![end-metadata]-->
    10  
    11  # container prune
    12  
    13  ```markdown
    14  Usage:	docker container prune
    15  
    16  Remove all stopped containers
    17  
    18  Options:
    19    -f, --force   Do not prompt for confirmation
    20        --help    Print usage
    21  ```
    22  
    23  Example output:
    24  
    25  ```bash
    26  $ docker container prune
    27  WARNING! This will remove all stopped containers.
    28  Are you sure you want to continue? [y/N] y
    29  Deleted Containers:
    30  4a7f7eebae0f63178aff7eb0aa39cd3f0627a203ab2df258c1a00b456cf20063
    31  f98f9c2aa1eaf727e4ec9c0283bc7d4aa4762fbdba7f26191f26c97f64090360
    32  
    33  Total reclaimed space: 212 B
    34  ```
    35  
    36  ## Related information
    37  
    38  * [system df](system_df.md)
    39  * [volume prune](container_prune.md)
    40  * [image prune](container_prune.md)
    41  * [system prune](system_prune.md)