summaryrefslogtreecommitdiff
path: root/docs/podman-pod-rm.1.md
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-07-13 13:57:04 -0400
committerGitHub <noreply@github.com>2018-07-13 13:57:04 -0400
commit827359c8e6b116b839a95460cc1775a11f84b682 (patch)
tree2c75493ec56ff9f882c766c56f128d933b0dab8b /docs/podman-pod-rm.1.md
parent35b7a875fd9747a6f322e12f358aeacea778eae5 (diff)
parenta04a8d1dd4d375ebe5084bac760dc82f88cfc77f (diff)
downloadpodman-827359c8e6b116b839a95460cc1775a11f84b682.tar.gz
podman-827359c8e6b116b839a95460cc1775a11f84b682.tar.bz2
podman-827359c8e6b116b839a95460cc1775a11f84b682.zip
Merge pull request #1065 from haircommander/pod-start-create-rm
Podman pod create/rm/ps commands with man pages and tests
Diffstat (limited to 'docs/podman-pod-rm.1.md')
-rw-r--r--docs/podman-pod-rm.1.md42
1 files changed, 42 insertions, 0 deletions
diff --git a/docs/podman-pod-rm.1.md b/docs/podman-pod-rm.1.md
new file mode 100644
index 000000000..3b571ee9a
--- /dev/null
+++ b/docs/podman-pod-rm.1.md
@@ -0,0 +1,42 @@
+% podman-pod-rm "1"
+
+## NAME
+podman\-pod\-rm - Remove one or more pods
+
+## SYNOPSIS
+**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 and then removes them before removing the pod. Without the \-f option, a pod cannot be removed if it has associated containers.
+
+## OPTIONS
+
+**--all, a**
+
+Remove all pods. Can be used in conjunction with \-f as well.
+
+**--latest, -l**
+
+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
+
+podman pod rm mywebserverpod
+
+podman pod rm mywebserverpod myflaskserverpod 860a4b23
+
+podman pod rm -f 860a4b23
+
+podman pod rm -f -a
+
+podman pod rm -fa
+
+## SEE ALSO
+podman-pod(1)
+
+## HISTORY
+July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com>