From dd88ce005f244c761e209347c63d4e65c9df9e26 Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 24 Nov 2017 09:21:09 -0600 Subject: kpod_rm: Add option for --all Remove all containers with -a, --all. Enable kpod rm tests which were all set to skip. Add two tests for -a Signed-off-by: baude Closes: #74 Approved by: rhatdan --- docs/kpod-rm.1.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/kpod-rm.1.md b/docs/kpod-rm.1.md index 4e2c490a6..77753f1fe 100644 --- a/docs/kpod-rm.1.md +++ b/docs/kpod-rm.1.md @@ -9,7 +9,7 @@ kpod rm - Remove one or more containers **kpod** **rm** [*options* [...]] container ## DESCRIPTION -Kpod rm will remove one or more containers from the host. The container name or ID can be used. This does not remove images. Running containers will not be removed without the -f option +kpod rm will remove one or more containers from the host. The container name or ID can be used. This does not remove images. Running containers will not be removed without the -f option ## OPTIONS @@ -17,13 +17,20 @@ Kpod rm will remove one or more containers from the host. The container name or Force the removal of a running container +**--all, a** + +Remove all containers. Can be used in conjunction with -f as well. ## EXAMPLE kpod rm mywebserver +kpod rm mywebserver myflaskserver 860a4b23 + kpod rm -f 860a4b23 +kpod rm -f -a + ## SEE ALSO kpod(1), kpod-rmi(1) -- cgit v1.2.3-54-g00ecf