summaryrefslogtreecommitdiff
path: root/docs/reference/commandline/system_prune.md
diff options
context:
space:
mode:
authorMisty Stanley-Jones <misty@apache.org>2017-04-03 16:54:34 -0700
committerGitHub <noreply@github.com>2017-04-03 16:54:34 -0700
commit473c5701cb66403b0535a5c01845cb0f27fbeb47 (patch)
tree9a40326ad4b426655abca7377dc30da003847d4d /docs/reference/commandline/system_prune.md
parentce07fb6b0f1b8765b92022e45f96bd4349812e06 (diff)
parent71e6babfa2598669218177b5b429e873b7f35e8f (diff)
downloaddocker-1.13.x.tar.gz
Merge pull request #32332 from mstanleyjones/1.13.x1.13.x
Cherry-pick command-line ref improvements
Diffstat (limited to 'docs/reference/commandline/system_prune.md')
-rw-r--r--docs/reference/commandline/system_prune.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/reference/commandline/system_prune.md b/docs/reference/commandline/system_prune.md
index 46f8c4364a..4959b656e5 100644
--- a/docs/reference/commandline/system_prune.md
+++ b/docs/reference/commandline/system_prune.md
@@ -26,12 +26,15 @@ Options:
--help Print usage
```
+## Description
+
Remove all unused containers, volumes, networks and images (both dangling and unreferenced).
-Example output:
+## Examples
```bash
$ docker system prune -a
+
WARNING! This will remove:
- all stopped containers
- all volumes not used by at least one container
@@ -64,7 +67,7 @@ deleted: sha256:3a88a5c81eb5c283e72db2dbc6d65cbfd8e80b6c89bb6e714cfaaa0eed99c548
Total reclaimed space: 13.5 MB
```
-## Related information
+## Related commands
* [volume create](volume_create.md)
* [volume ls](volume_ls.md)