Merge pull request #23239 from albers/completion-run-healthcheck

bash completion for `docker run` healthcheck options
Upstream-commit: 5429f4ef6166a593fc9d2e6dd4f689d4ff94b2b7
Component: engine
This commit is contained in:
Vincent Demeester
2016-06-03 18:17:15 +02:00

View File

@ -1726,9 +1726,14 @@ _docker_run() {
if [ "$command" = "run" ] ; then
options_with_args="$options_with_args
--detach-keys
--health-cmd
--health-interval
--health-retries
--health-timeout
"
boolean_options="$boolean_options
--detach -d
--no-healthcheck
--rm
--sig-proxy=false
"