소스 검색

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

bash completion for `docker run` healthcheck options
Vincent Demeester 9 년 전
부모
커밋
5429f4ef61
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      contrib/completion/bash/docker

+ 5 - 0
contrib/completion/bash/docker

@@ -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
 		"