summaryrefslogtreecommitdiff
path: root/docs/reference/commandline/system_prune.md
diff options
context:
space:
mode:
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)