summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-01-11 16:15:56 -0500
committerGitHub <noreply@github.com>2022-01-11 16:15:56 -0500
commit3404ad042def1c02872f66836feae19c814901a4 (patch)
treea454ef259ab28f85b17f53b3273725480aa78515 /docs
parentc4142ce0cfff792092bf420950b1985058cc241c (diff)
parent8f2358eeaa59fe369eebc6186403f95c2d66e49b (diff)
downloadpodman-3404ad042def1c02872f66836feae19c814901a4.tar.gz
podman-3404ad042def1c02872f66836feae19c814901a4.tar.bz2
podman-3404ad042def1c02872f66836feae19c814901a4.zip
Merge pull request #12694 from rhatdan/depend
Add podman rm --depend
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-rm.1.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-rm.1.md b/docs/source/markdown/podman-rm.1.md
index c599c8687..f3807d2f7 100644
--- a/docs/source/markdown/podman-rm.1.md
+++ b/docs/source/markdown/podman-rm.1.md
@@ -18,6 +18,10 @@ Running or unusable containers will not be removed without the **-f** option.
Remove all containers. Can be used in conjunction with **-f** as well.
+#### **--depend**
+
+Remove selected container and recursively remove all containers that depend on it.
+
#### **--cidfile**
Read container ID from the specified file and remove the container. Can be specified multiple times.
@@ -56,6 +60,11 @@ Remove a container by its name *mywebserver*
$ podman rm mywebserver
```
+Remove a *mywebserver* container and all of the containers that depend on it
+```
+$ podman rm --depend mywebserver
+```
+
Remove several containers by name and container id.
```
$ podman rm mywebserver myflaskserver 860a4b23