f239640a2e
Fix missing -d flag in docker.fish
...
Signed-off-by: Guilhem Lettron <guilhem@lettron.fr >
2017-06-02 00:07:16 +00:00
f9b805f16f
Remove exec-driver global daemon option.
...
Each platform has only a driver now.
Signed-off-by: David Calavera <david.calavera@gmail.com >
2017-06-02 00:07:15 +00:00
c5ed875bd9
Remove LXC support.
...
The LXC driver was deprecated in Docker 1.8.
Following the deprecation rules, we can remove a deprecated feature
after two major releases. LXC won't be supported anymore starting on Docker 1.10.
Signed-off-by: David Calavera <david.calavera@gmail.com >
2017-06-02 00:07:15 +00:00
7f6859ce5a
Fix missing double quote in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:15 +00:00
b10fb43048
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 >
2017-06-02 00:07:15 +00:00
2102746489
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 >
2017-06-02 00:07:15 +00:00
060e6e1935
Add zsh completion for 'docker build' multi tags
...
+ Fix some others multi options
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:14 +00:00
4332d3b5d8
Fix repeatable options in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:14 +00:00
526c844004
Add splunk log driver to zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:14 +00:00
1e2a27568b
Add Splunk logging driver #16207
...
Allow to send Splunk logs using Http Event Collector
Signed-off-by: Denis Gladkikh <denis@gladkikh.email >
2017-06-02 00:07:14 +00:00
a41d4dbdde
bash completion for log driver options env and labels
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:14 +00:00
f06b7a7713
Zsh completion for 'docker network inspect' multiple networks
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:14 +00:00
be7caf2647
bash completion can be configured to complete network IDs
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:14 +00:00
b20b7584de
bash completion for docker network inspect supports multiple networks
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:14 +00:00
6b43a0aa73
bash completion for docker cp supports copying both ways
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:14 +00:00
a2bbb2c61c
bash completion for new docker network create options
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:14 +00:00
4e6212f389
Add zsh completion for 'docker network create -o --opt'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:14 +00:00
28f2bdf335
Bash completion for restart policy unless-stopped
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:13 +00:00
321a5b38e7
bash completion: support for dm.use_deferred_* options
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:13 +00:00
4c506e1df7
Deprecate -c cli short variant flag in docker cli
...
- build
- create
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2017-06-02 00:07:13 +00:00
c3c2867b15
Add missing options to bash completion for docker import
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:13 +00:00
9d4969150a
bash completion: minor refactoring for consistency
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:13 +00:00
0ef21aeab2
Add missing options to bash completion for docker build
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:13 +00:00
88664b18b9
Zsh completion : all --<option>= flag values may be given in the next argument
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:13 +00:00
1040139182
Add zsh completion for 'docker import -m --message'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:13 +00:00
570a5f17bf
Deprecate 'docker run -c' option in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:13 +00:00
dbf572a81d
Add zsh completion for 'unless-stopped' restart policy
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:13 +00:00
96af7e18b9
Add zsh completion for 'docker build --build-arg'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:13 +00:00
b6b1fc6a34
Remove '-n -l --latest' options from 'docker network ls' in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:13 +00:00
d6ac5c6556
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 >
2017-06-02 00:07:13 +00:00
3a779b2995
Added network to docker --help and help cleanup
...
Fixes https://github.com/docker/docker/issues/16909
Signed-off-by: Madhu Venugopal <madhu@docker.com >
2017-06-02 00:07:13 +00:00
3a89624209
Add bash completion for docker inspect --size
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:12 +00:00
de3e44577a
add size to inspect
...
Signed-off-by: Zhang Kun <zkazure@gmail.com >
2017-06-02 00:07:12 +00:00
966ebe7b62
Bash completion for docker network
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:12 +00:00
26294f39f2
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 >
2017-06-02 00:07:12 +00:00
dd91c424fa
fix fish completion; wrong image names bug; close #16672
...
Signed-off-by: Viktor Stanchev <me@viktorstanchev.com >
2017-06-02 00:07:12 +00:00
cbc9cbde21
Add zsh completion for 'docker network'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:12 +00:00
64c577bdd8
Add zsh completion for '--cluster-store-opt'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:12 +00:00
4fcea52287
Add bash completion for --cluster-store-opt
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:12 +00:00
0afb6cc862
change flag name to better follow the other flags that start with disable;
...
Signed-off-by: Jessica Frazelle <acidburn@docker.com >
2017-06-02 00:07:11 +00:00
53089d74fe
Add zsh completion for 'docker daemon --no-legacy-registry'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:11 +00:00
cbd33a2b27
Fix man and commandline docs
...
- missing help option in `docs/reference/commandline/*.md` (some files
have it, the other I fixed didn't)
- missing `[OPTIONS]` in Usage description
- missing options
- formatting
- start/stop idempotence
Signed-off-by: Antonio Murdaca <amurdaca@redhat.com >
2017-06-02 00:07:11 +00:00
1b1a0a0835
Add bash completion for --no-legacy-registry
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:10 +00:00
88ef8f31aa
Add zsh completion for --cluster-store and --cluster-advertise options for docker daemon
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:10 +00:00
3fce5e1084
bash completion for docker daemon --cluster-*
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:10 +00:00
d5b1d055b8
Add support for memory reservation
...
Signed-off-by: qhuang <qhuang@10.0.2.15>
2017-06-02 00:07:10 +00:00
9ec9856889
Docs: correct the description of docker cp
...
Signed-off-by: Lei Jitang <leijitang@huawei.com >
2017-06-02 00:07:10 +00:00
65c5e2b950
Catchup missing changes for the zsh completion
...
- felixr/docker-zsh-completion@6ae6279 : Add --privileged flag to docker exec command in zsh completion
- felixr/docker-zsh-completion@259ea00 : Remove -h help flag from subcommands in zsh completion
- felixr/docker-zsh-completion@5f77b29 : Add docker ps --format flag to zsh completion
- felixr/docker-zsh-completion@a1f39f8 : Add --config flag to zsh completion
- felixr/docker-zsh-completion@6a503b4 : Filter zsh completions of inspect command by --type
- felixr/docker-zsh-completion@d286ccd : Add --ulimit flag to build command to zsh completion
- felixr/docker-zsh-completion@bdc1261 : Add support for kernel memory limit in zsh completion
- felixr/docker-zsh-completion@c8ce164 : Add docker volume command and subcommands in zsh completion
- felixr/docker-zsh-completion@7f996bf : Add docker daemon command to zsh completion
- felixr/docker-zsh-completion@4ccd292 : Be more generic when parsing "docker ps" output.
- felixr/docker-zsh-completion@cd0f1b9 : Fix container completion by name
- felixr/docker-zsh-completion@8bf9041 : Use "docker ps --no-trunc" to build completion.
- felixr/docker-zsh-completion@b721bbb : Only keep the last name for a running/stopped container
- felixr/docker-zsh-completion@6791b3e : Fix "docker run --stop-signal" completion
- felixr/docker-zsh-completion@961f628 : Try some heuristics to determine the canonical container name
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
2017-06-02 00:07:10 +00:00
7310f4a2bd
Bash completion: avoid 'compopt: command not found' errors on Mac OS
...
The shell builtin `compopt` is not available on the outdated bash
version 3.2.57 that ships with Mac OS.
It is used in Docker's bash completion to suppress trailing spaces
in advanced completions of hash map options, e.g. `--log-opt`.
If `compopt` is not available, the new behavior is to do nothing,
i.e. the user will have to delete the additional space.
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:10 +00:00
eb684d2bad
bash completion: use generic tag log driver option
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-06-02 00:07:09 +00:00