summaryrefslogtreecommitdiff
path: root/docs/podman-network-rm.1.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-12 23:58:50 +0200
committerGitHub <noreply@github.com>2019-09-12 23:58:50 +0200
commitb43a36d7a3974a27eab7c73e5e0dd1a107bac95d (patch)
tree49eaf9b3ce6df3ad2e04ae783328434acb462e92 /docs/podman-network-rm.1.md
parent20772182e6a9f82403a668d228dfd81c8df06821 (diff)
parentb94ea07265045f447572c264ef62e7960f484b58 (diff)
downloadpodman-b43a36d7a3974a27eab7c73e5e0dd1a107bac95d.tar.gz
podman-b43a36d7a3974a27eab7c73e5e0dd1a107bac95d.tar.bz2
podman-b43a36d7a3974a27eab7c73e5e0dd1a107bac95d.zip
Merge pull request #3978 from baude/networkremove
enhance podman network rm
Diffstat (limited to 'docs/podman-network-rm.1.md')
-rw-r--r--docs/podman-network-rm.1.md19
1 files changed, 16 insertions, 3 deletions
diff --git a/docs/podman-network-rm.1.md b/docs/podman-network-rm.1.md
index c95c93cd8..c71f0d8fd 100644
--- a/docs/podman-network-rm.1.md
+++ b/docs/podman-network-rm.1.md
@@ -9,13 +9,26 @@ podman\-network\-rm - Remove one or more CNI networks
## DESCRIPTION
Delete one or more Podman networks.
+## OPTIONS
+**--force**, **-f**
+
+The `force` option will remove all containers that use the named network. If the container is
+running, the container will be stopped and removed.
+
## EXAMPLE
-Delete the `podman9` network
+Delete the `cni-podman9` network
+
+```
+# podman network rm cni-podman9
+Deleted: cni-podman9
+```
+
+Delete the `fred` network and all containers associated with the network.
```
-# podman network rm podman
-Deleted: podman9
+# podman network rm -f fred
+Deleted: fred
```
## SEE ALSO