From a04a8d1dd4d375ebe5084bac760dc82f88cfc77f Mon Sep 17 00:00:00 2001 From: haircommander Date: Mon, 9 Jul 2018 17:48:20 -0400 Subject: Added full podman pod ps, with tests and man page Signed-off-by: haircommander --- docs/podman-pod-rm.1.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'docs/podman-pod-rm.1.md') diff --git a/docs/podman-pod-rm.1.md b/docs/podman-pod-rm.1.md index 725702714..3b571ee9a 100644 --- a/docs/podman-pod-rm.1.md +++ b/docs/podman-pod-rm.1.md @@ -4,20 +4,24 @@ podman\-pod\-rm - Remove one or more pods ## SYNOPSIS -**podman rm** [*options*] *container* +**podman pod rm** [*options*] *pod* ## DESCRIPTION -**podman pod rm** will remove one or more pods from the host. The pod name or ID can be used. The -f option stops all containers then removes them before removing the pod. Without the -f option, a pod cannot be removed if it has attached containers. +**podman pod rm** will remove one or more pods from the host. The pod name or ID can be used. The \-f option stops all containers and then removes them before removing the pod. Without the \-f option, a pod cannot be removed if it has associated containers. ## OPTIONS -**--force, f** +**--all, a** -Stop running containers and delete all stopped containers before removal of pod. +Remove all pods. Can be used in conjunction with \-f as well. -**--all, a** +**--latest, -l** -Remove all pods. Can be used in conjunction with -f and -r as well. +Instead of providing the pod name or ID, use the last created pod. + +**--force, f** + +Stop running containers and delete all stopped containers before removal of pod. ## EXAMPLE @@ -35,5 +39,4 @@ podman pod rm -fa podman-pod(1) ## HISTORY -August 2017, Originally compiled by Ryan Cole -July 2018, Adapted from podman rm man page by Peter Hunt +July 2018, Originally compiled by Peter Hunt -- cgit v1.2.3-54-g00ecf