bash completion for `docker run` healthcheck options

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-06-03 17:04:04 +02:00 committed by Tibor Vass
parent ae11c80580
commit e116088cb2
1 changed files with 5 additions and 0 deletions

View File

@ -1726,9 +1726,14 @@ _docker_run() {
if [ "$command" = "run" ] ; then if [ "$command" = "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
" "