Commit Graph
962 Commits
Author SHA1 Message Date
Steve Durrheimer 2de3c9f772 Fix missing double quote in zsh completion
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 7f6859ce5a
Component: cli
2017-06-02 00:07:15 +00:00
Vincent Bernat bc09bd9da3 zsh: allow option stacking for short options without arguments
This enables Zsh to understand commands like "docker run -it
ubuntu". However, by enabling this, this also makes Zsh completes
"docker run -u<tab>" with "docker run -uapprox" which is not valid. The
users have to put the space or the equal sign themselves before trying
to complete.

Therefore, this behavior is disabled by default. To enable it:

    zstyle ':completion:*:*:docker:*' option-stacking yes
    zstyle ':completion:*:*:docker-*:*' option-stacking yes

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Upstream-commit: b10fb43048
Component: cli
2017-06-02 00:07:15 +00:00
Vincent Bernat 052dd3f6a8 zsh: allow short options to specify their arguments with "="
This is allowed by Docker and helps the completion to not get confused
when a user uses this notation. This will also help to enable stacking
of short options since Zsh needs that to not stack options with
arguments.

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Upstream-commit: 2102746489
Component: cli
2017-06-02 00:07:15 +00:00
Steve Durrheimer 8c65a8b8f6 Add zsh completion for 'docker build' multi tags
+ Fix some others multi options

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 060e6e1935
Component: cli
2017-06-02 00:07:14 +00:00
Steve Durrheimer 644e4c5a10 Fix repeatable options in zsh completion
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 4332d3b5d8
Component: cli
2017-06-02 00:07:14 +00:00
Mary Anthony 0d90750323 Tweaking some things
Signed-off-by: Mary Anthony <mary@docker.com>
Upstream-commit: cd95e0a5c5
Component: cli
2017-06-02 00:07:14 +00:00
Steve Durrheimer 474ccf50b2 Add splunk log driver to zsh completion
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 526c844004
Component: cli
2017-06-02 00:07:14 +00:00
Denis Gladkikh 3be895e8da Add Splunk logging driver #16207
Allow to send Splunk logs using Http Event Collector

Signed-off-by: Denis Gladkikh <denis@gladkikh.email>
Upstream-commit: 1e2a27568b
Component: cli
2017-06-02 00:07:14 +00:00
Shijiang Wei e16c15092c Add ability to add multiple tags with docker build
Signed-off-by: Shijiang Wei <mountkin@gmail.com>
Upstream-commit: 9d9976ae3a
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers 3e5032bf12 bash completion for log driver options env and labels
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a41d4dbdde
Component: cli
2017-06-02 00:07:14 +00:00
Steve Durrheimer a897c3f32c Zsh completion for 'docker network inspect' multiple networks
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: f06b7a7713
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers b10cc3ac63 bash completion can be configured to complete network IDs
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: be7caf2647
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers a2346eda68 bash completion for docker network inspect supports multiple networks
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: b20b7584de
Component: cli
2017-06-02 00:07:14 +00:00
Sven Dowideit 5f40c7f270 Fix some errant links
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Upstream-commit: 428a089858
Component: cli
2017-06-02 00:07:14 +00:00
Jeremy Unruh 1a8d32cc2e changes from review - which -> that
Signed-off-by: Jeremy Unruh <jeremybunruh@gmail.com>
Upstream-commit: 91fbce30e8
Component: cli
2017-06-02 00:07:14 +00:00
Jeremy Unruh 8f5cb8d6a6 changes from review - move up to conform to alphabetical order
Signed-off-by: Jeremy Unruh <jeremybunruh@gmail.com>
Upstream-commit: 3e901572a5
Component: cli
2017-06-02 00:07:14 +00:00
Jeremy Unruh cac5b20d4f docs: Add Netshare volume plugin to extend/plugins
Signed-off-by: Jeremy Unruh <jeremybunruh@gmail.com>
Upstream-commit: 48a8ca15d8
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers ef216a0fb8 bash completion for docker cp supports copying both ways
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 6b43a0aa73
Component: cli
2017-06-02 00:07:14 +00:00
Harald Albers cbff938ed8 bash completion for new docker network create options
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a2bbb2c61c
Component: cli
2017-06-02 00:07:14 +00:00
Steve Durrheimer 00a2827cb7 Add zsh completion for 'docker network create -o --opt'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 4e6212f389
Component: cli
2017-06-02 00:07:14 +00:00
Aidan Hobson Sayers 9e47fd5a5a Update ambassador image, use the socat -t option
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
Upstream-commit: edbb82c900
Component: cli
2017-06-02 00:07:14 +00:00
GabrielNicolasAvellaneda eb88c834cf MINOR typo fix.
Signed-off-by: GabrielNicolasAvellaneda <avellaneda.gabriel@gmail.com>
Upstream-commit: aa9830907a
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers a5c27ff0c7 Bash completion for restart policy unless-stopped
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 28f2bdf335
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers a8b3e2deea bash completion: support for dm.use_deferred_* options
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 321a5b38e7
Component: cli
2017-06-02 00:07:13 +00:00
Sebastiaan van Stijn 565f5031db docs: fix storage driver options list
This fixes the indentation of the storage driver
options list.

Also wraps/reformats some examples to prevent
horizontal scrollbars on the rendered HTML

Fixes #17140

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 91e898094f
Component: cli
2017-06-02 00:07:13 +00:00
Vincent Demeester 80cce1f5ce Deprecate -c cli short variant flag in docker cli
- build
- create

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 4c506e1df7
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers a9f41b5a62 Add missing options to bash completion for docker import
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: c3c2867b15
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers cc1819978a bash completion: minor refactoring for consistency
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9d4969150a
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers d40cef7233 Add missing options to bash completion for docker build
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0ef21aeab2
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer dd502cefea Zsh completion : all --<option>= flag values may be given in the next argument
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 88664b18b9
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer 0372f2a433 Add zsh completion for 'docker import -m --message'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 1040139182
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer fe064e150d Deprecate 'docker run -c' option in zsh completion
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 570a5f17bf
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer 622facd72b Add zsh completion for 'unless-stopped' restart policy
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: dbf572a81d
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer 014a8fa50f Add zsh completion for 'docker build --build-arg'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 96af7e18b9
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer 52c421ec6b Remove '-n -l --latest' options from 'docker network ls' in zsh completion
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: b6b1fc6a34
Component: cli
2017-06-02 00:07:13 +00:00
Steve Durrheimer ef15f35c65 Add zsh completion for '--ipam-driver --subnet --ip-range --gateway --aux-address' for 'docker network create'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: d6ac5c6556
Component: cli
2017-06-02 00:07:13 +00:00
Madhu Venugopal de10af7bd7 Added network to docker --help and help cleanup
Fixes https://github.com/docker/docker/issues/16909

Signed-off-by: Madhu Venugopal <madhu@docker.com>
Upstream-commit: 3a779b2995
Component: cli
2017-06-02 00:07:13 +00:00
Victor Vieux e15d2f0090 use Server Version
Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: dd1d35285b
Component: cli
2017-06-02 00:07:13 +00:00
Sally O'Malley a1b4133afe add clarity to -p option
Signed-off-by: Sally O'Malley <somalley@redhat.com>
Upstream-commit: 445552696c
Component: cli
2017-06-02 00:07:13 +00:00
Jian Zhang eaf51eb079 Improve the way we deliver Examples in command line. (Add descriptive titles)
Signed-off-by: Jian Zhang <zhangjian.fnst@cn.fujitsu.com>
Upstream-commit: c897310c29
Component: cli
2017-06-02 00:07:13 +00:00
Harald Albers e44fcd2712 Add bash completion for docker inspect --size
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3a89624209
Component: cli
2017-06-02 00:07:12 +00:00
Zhang Kun 9a66bfc2e3 add size to inspect
Signed-off-by: Zhang Kun <zkazure@gmail.com>
Upstream-commit: de3e44577a
Component: cli
2017-06-02 00:07:12 +00:00
Mike Brown 900900b4d7 updating docs for EXPOSE option on run command; fixes #16634
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
Upstream-commit: d83594a46d
Component: cli
2017-06-02 00:07:12 +00:00
Harald Albers 98088a6131 Bash completion for docker network
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 966ebe7b62
Component: cli
2017-06-02 00:07:12 +00:00
Harald Albers 7dc7d29f7b Refactor bash completion: pull out subcommand parsing
`docker network` is the second command with subcommands.

This refactoring pulls out parsing and processing of subcommands
from `docker volume` completion and thus makes its logic available
for other commands.

Also enables `__docker_pos_first_nonflag` for subcommand completion.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 26294f39f2
Component: cli
2017-06-02 00:07:12 +00:00
Sally O'Malley 9c1b81f536 various man page typos
Signed-off-by: Sally O'Malley <somalley@redhat.com>
Upstream-commit: f7a88ba8a8
Component: cli
2017-06-02 00:07:12 +00:00
Kun Zhang 5b54323be8 volume create error on conflict option
Signed-off-by: Kun Zhang <zkazure@gmail.com>
Upstream-commit: eb960e4eb7
Component: cli
2017-06-02 00:07:12 +00:00
Mihuleacc Sergiu 26c4f55b5c Add CMD and EXPOSE instruction example
Signed-off-by: Mihuleacc Sergiu <mihuleac.sergiu@gmail.com>
Upstream-commit: 2af4a1ef4b
Component: cli
2017-06-02 00:07:12 +00:00
Daniel Hiltgen f6c311219b Document updates for cluster-store-opt
This updates the docs for the daemon based on the new cluster-store-opt
for TLS support.

Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
Upstream-commit: f10d93f394
Component: cli
2017-06-02 00:07:12 +00:00
Viktor Stanchev 38cbcb9edf fix fish completion; wrong image names bug; close #16672
Signed-off-by: Viktor Stanchev <me@viktorstanchev.com>
Upstream-commit: dd91c424fa
Component: cli
2017-06-02 00:07:12 +00:00