Merge pull request #28252 from sdurrheimer/zsh-completion-service-create-hostname

Add zsh completion for 'docker service create --hostname'
This commit is contained in:
Sebastiaan van Stijn 2016-11-10 21:49:02 +01:00 committed by GitHub
commit c51b16f0e4

View file

@ -1684,6 +1684,7 @@ __docker_service_subcommand() {
$opts_create_update \
"($help)*--container-label=[Container labels]:label: " \
"($help)*--env-file=[Read environment variables from a file]:environment file:_files" \
"($help)--hostname=[Service containers hostname]:hostname: " \
"($help)--mode=[Service Mode]:mode:(global replicated)" \
"($help)--name=[Service name]:name: " \
"($help -): :__docker_complete_images" \