mirror of https://github.com/docker/cli.git
Add bash completion for `--health-start-period`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
a316bc3895
commit
95fcee5fc6
|
@ -1511,6 +1511,11 @@ _docker_container_run_and_create() {
|
||||||
--env-file
|
--env-file
|
||||||
--expose
|
--expose
|
||||||
--group-add
|
--group-add
|
||||||
|
--health-cmd
|
||||||
|
--health-interval
|
||||||
|
--health-retries
|
||||||
|
--health-start-period
|
||||||
|
--health-timeout
|
||||||
--hostname -h
|
--hostname -h
|
||||||
--ip
|
--ip
|
||||||
--ip6
|
--ip6
|
||||||
|
@ -1566,6 +1571,7 @@ _docker_container_run_and_create() {
|
||||||
--help
|
--help
|
||||||
--init
|
--init
|
||||||
--interactive -i
|
--interactive -i
|
||||||
|
--no-healthcheck
|
||||||
--oom-kill-disable
|
--oom-kill-disable
|
||||||
--privileged
|
--privileged
|
||||||
--publish-all -P
|
--publish-all -P
|
||||||
|
@ -1576,14 +1582,9 @@ _docker_container_run_and_create() {
|
||||||
if [ "$command" = "run" -o "$subcommand" = "run" ] ; then
|
if [ "$command" = "run" -o "$subcommand" = "run" ] ; then
|
||||||
options_with_args="$options_with_args
|
options_with_args="$options_with_args
|
||||||
--detach-keys
|
--detach-keys
|
||||||
--health-cmd
|
|
||||||
--health-interval
|
|
||||||
--health-retries
|
|
||||||
--health-timeout
|
|
||||||
"
|
"
|
||||||
boolean_options="$boolean_options
|
boolean_options="$boolean_options
|
||||||
--detach -d
|
--detach -d
|
||||||
--no-healthcheck
|
|
||||||
--rm
|
--rm
|
||||||
--sig-proxy=false
|
--sig-proxy=false
|
||||||
"
|
"
|
||||||
|
@ -3030,6 +3031,7 @@ _docker_service_update_and_create() {
|
||||||
--health-cmd
|
--health-cmd
|
||||||
--health-interval
|
--health-interval
|
||||||
--health-retries
|
--health-retries
|
||||||
|
--health-start-period
|
||||||
--health-timeout
|
--health-timeout
|
||||||
--hostname
|
--hostname
|
||||||
--label -l
|
--label -l
|
||||||
|
@ -3039,7 +3041,6 @@ _docker_service_update_and_create() {
|
||||||
--log-opt
|
--log-opt
|
||||||
--mount
|
--mount
|
||||||
--network
|
--network
|
||||||
--no-healthcheck
|
|
||||||
--replicas
|
--replicas
|
||||||
--reserve-cpu
|
--reserve-cpu
|
||||||
--reserve-memory
|
--reserve-memory
|
||||||
|
@ -3065,6 +3066,7 @@ _docker_service_update_and_create() {
|
||||||
|
|
||||||
local boolean_options="
|
local boolean_options="
|
||||||
--help
|
--help
|
||||||
|
--no-healthcheck
|
||||||
--read-only
|
--read-only
|
||||||
--tty -t
|
--tty -t
|
||||||
--with-registry-auth
|
--with-registry-auth
|
||||||
|
|
Loading…
Reference in New Issue