kpod stop -- stop one or more containers
Stop one or more containers. Specific a timeout value that if the stop operation exceeds, will forcibly stop the container. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
parent
10b72d8bfa
commit
aca658b423
7 changed files with 168 additions and 0 deletions
|
@ -366,6 +366,14 @@ _kpod_ps() {
|
|||
_complete_ "$options_with_args" "$boolean_options"
|
||||
}
|
||||
|
||||
_kpod_stop() {
|
||||
local options_with_args="
|
||||
--timeout -t
|
||||
"
|
||||
local boolean_options=""
|
||||
_complete_ "$options_with_args" "$boolean_options"
|
||||
}
|
||||
|
||||
_complete_() {
|
||||
local options_with_args=$1
|
||||
local boolean_options="$2 -h --help"
|
||||
|
@ -424,6 +432,7 @@ _kpod_kpod() {
|
|||
rmi
|
||||
save
|
||||
stats
|
||||
stop
|
||||
tag
|
||||
umount
|
||||
unmount
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue