summaryrefslogtreecommitdiff
path: root/docs/reference/commandline/network_prune.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/commandline/network_prune.md')
-rw-r--r--docs/reference/commandline/network_prune.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/reference/commandline/network_prune.md b/docs/reference/commandline/network_prune.md
index 5b65465600..e57741d3ec 100644
--- a/docs/reference/commandline/network_prune.md
+++ b/docs/reference/commandline/network_prune.md
@@ -16,12 +16,16 @@ Options:
--help Print usage
```
-Remove all unused networks. Unused networks are those which are not referenced by any containers.
+## Description
-Example output:
+Remove all unused networks. Unused networks are those which are not referenced
+by any containers.
+
+## Examples
```bash
$ docker network prune
+
WARNING! This will remove all networks not used by at least one container.
Are you sure you want to continue? [y/N] y
Deleted Networks:
@@ -29,7 +33,7 @@ n1
n2
```
-## Related information
+## Related commands
* [network disconnect ](network_disconnect.md)
* [network connect](network_connect.md)