summaryrefslogtreecommitdiff
path: root/docs/podman-rm.1.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/podman-rm.1.md')
-rw-r--r--docs/podman-rm.1.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/podman-rm.1.md b/docs/podman-rm.1.md
index 0d86dae1c..1047c7fc7 100644
--- a/docs/podman-rm.1.md
+++ b/docs/podman-rm.1.md
@@ -21,6 +21,9 @@ Force the removal of a running container
Remove all containers. Can be used in conjunction with -f as well.
+**--latest, -l**
+Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
+to run containers such as CRI-O, the last started container could be from either of those methods.
## EXAMPLE
podman rm mywebserver
@@ -31,6 +34,8 @@ podman rm -f 860a4b23
podman rm -f -a
+podman rm -f --latest
+
## SEE ALSO
podman(1), podman-rmi(1)