aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-09 10:28:14 -0800
committerGitHub <noreply@github.com>2018-11-09 10:28:14 -0800
commit78e6d8e7d70d431ccf096dee0f8eadb1c9b2967b (patch)
tree4adf8d4048a6b2c4c89ade6bb9375716d8fe8bd3 /docs
parent7813f90ce623c8882e53171c8ffe7fb46664ead7 (diff)
parent2dd9cae37cb076418393ba61c0fb7b8cf97148f3 (diff)
downloadpodman-78e6d8e7d70d431ccf096dee0f8eadb1c9b2967b.tar.gz
podman-78e6d8e7d70d431ccf096dee0f8eadb1c9b2967b.tar.bz2
podman-78e6d8e7d70d431ccf096dee0f8eadb1c9b2967b.zip
Merge pull request #1772 from baude/rmdelpaused
rm -f now removes a paused container
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-rm.1.md19
1 files changed, 16 insertions, 3 deletions
diff --git a/docs/podman-rm.1.md b/docs/podman-rm.1.md
index 7474a0d1f..56664a8c1 100644
--- a/docs/podman-rm.1.md
+++ b/docs/podman-rm.1.md
@@ -13,7 +13,7 @@ podman\-rm - Remove one or more containers
**--force, f**
-Force the removal of a running container
+Force the removal of a running and paused containers
**--all, a**
@@ -29,16 +29,29 @@ to run containers such as CRI-O, the last started container could be from either
Remove the volumes associated with the container. (Not yet implemented)
## EXAMPLE
-
+Remove a container by its name *mywebserver*
+```
podman rm mywebserver
-
+```
+Remove several containers by name and container id.
+```
podman rm mywebserver myflaskserver 860a4b23
+```
+Forcibly remove a container by container ID.
+```
podman rm -f 860a4b23
+```
+Remove all containers regardless of its run state.
+```
podman rm -f -a
+```
+Forcibly remove the latest container created.
+```
podman rm -f --latest
+```
## SEE ALSO
podman(1), podman-rmi(1)