From e73547a6352042d27c6dc34574d08ae51f84ee65 Mon Sep 17 00:00:00 2001 From: Patrycja Guzik Date: Tue, 5 Apr 2022 23:33:18 +0200 Subject: Unify examples section across several man pages: pod rm/start/unpause Signed-off-by: Patrycja Guzik --- docs/source/markdown/podman-pod-rm.1.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'docs/source/markdown/podman-pod-rm.1.md') diff --git a/docs/source/markdown/podman-pod-rm.1.md b/docs/source/markdown/podman-pod-rm.1.md index 75a44c6d4..befab6791 100644 --- a/docs/source/markdown/podman-pod-rm.1.md +++ b/docs/source/markdown/podman-pod-rm.1.md @@ -39,17 +39,31 @@ Seconds to wait before forcibly stopping running containers within the pod. The ## EXAMPLE +Remove pod with a given name +``` podman pod rm mywebserverpod +``` +Remove multiple pods with given names and/or IDs +``` podman pod rm mywebserverpod myflaskserverpod 860a4b23 +``` +Forcefully remove pod with a given ID +``` podman pod rm -f 860a4b23 +``` +Forcefully remove all pods +``` podman pod rm -f -a - podman pod rm -fa +``` +Remove pod using ID specified in a given file +``` podman pod rm --pod-id-file /path/to/id/file +``` ## Exit Status **0** All specified pods removed -- cgit v1.2.3-54-g00ecf