summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/bash-completion/container2
-rw-r--r--share/man/container-stop.1.rst11
2 files changed, 10 insertions, 3 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container
index e08b7f8..5b57193 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -257,7 +257,7 @@ _container()
;;
*)
- opts="-n --name -f --force -i --interactive"
+ opts="-n --name -f --force -i --interactive -k --kill"
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
diff --git a/share/man/container-stop.1.rst b/share/man/container-stop.1.rst
index 567b2f4..bf668be 100644
--- a/share/man/container-stop.1.rst
+++ b/share/man/container-stop.1.rst
@@ -49,11 +49,14 @@ The following **container stop** options are available:
Specify container name. Specifying 'ALL' will stop all started container.
-f, --force:
- Instead of running the proper shutdown sequence, terminate all processes of the container imediatly.
+ Do not prompt before every stopping.
-i, --interactive:
Prompt before every stopping (default).
+-k, --kill:
+ Instead of running the proper shutdown sequence, terminate all processes of the container imediatly.
+
-v, --verbose:
Explain what is being done.
@@ -64,9 +67,13 @@ Shutdown example.net container:
sudo container stop -n example.net
+Shutdown example.net container without prompting:
+
+ sudo container stop -n example.net -f
+
Immediately stop example.net container:
- sudo container stop -n example.net -f
+ sudo container stop -n example.net -k
Stop all container: