98ddc49784
Add OomScoreAdj to configure container oom killer preferences
...
libcontainer v0.0.4 introduces setting `/proc/self/oom_score_adj` to
better tune oom killing preferences for container process. This patch
simply integrates OomScoreAdj libcontainer's config option and adjust
the cli with this new option.
Signed-off-by: Antonio Murdaca <amurdaca@redhat.com >
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
Upstream-commit: e9287cd43a
Component: cli
2017-06-02 00:07:19 +00:00
16c00f11eb
This patch adds --tmpfs as a option for mounting tmpfs on directories
...
It will Tar up contents of child directory onto tmpfs if mounted over
This patch will use the new PreMount and PostMount hooks to "tar"
up the contents of the base image on top of tmpfs mount points.
Signed-off-by: Dan Walsh <dwalsh@redhat.com >
Upstream-commit: 65120e8851
Component: cli
2017-06-02 00:07:18 +00:00
786163b516
zsh: ensure we have enough commands to store in the cache
...
Otherwise, the cache would be invalid and won't be refreshed soon. This
can happen when the user has the completion installed before docker is
installed.
Signed-off-by: Vincent Bernat <vincent@bernat.im >
Upstream-commit: 00ea341609
Component: cli
2017-06-02 00:07:17 +00:00
7ec7373309
zsh: remove lxc-related completion
...
LXC support has been deprecated and the related completion has been
removed in #17700 but was added back in #17334 .
Signed-off-by: Vincent Bernat <vincent@bernat.im >
Upstream-commit: 7eac998e7d
Component: cli
2017-06-02 00:07:17 +00:00
8e9e9a12e6
Add zsh completion for log options
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 2788cfa614
Component: cli
2017-06-02 00:07:17 +00:00
d75645ebf8
Allow configurable metadata for Splunk log driver
...
Add support of `tag`, `env` and `labels` for Splunk logging driver.
Removed from message `containerId` as it is the same as `tag`.
Signed-off-by: Denis Gladkikh <denis@gladkikh.email >
Upstream-commit: a148373062
Component: cli
2017-06-02 00:07:17 +00:00
1b35ef26d9
bash completion for docker {run,create} --volume-driver
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: d998542977
Component: cli
2017-06-02 00:07:17 +00:00
3804fbd740
Add support for blkio.weight_device
...
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com >
Upstream-commit: e303d6cc9f
Component: cli
2017-06-02 00:07:17 +00:00
a1344a583d
Add zsh completion for 'docker {run,create} --volume-driver'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: c14094b895
Component: cli
2017-06-02 00:07:16 +00:00
2201b8350a
Align configuration of bash completion with existing values
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 2c0feab2a1
Component: cli
2017-06-02 00:07:16 +00:00
e9341465ae
Fix bash completion on systems where extglob is not set
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 7fa96238a6
Component: cli
2017-06-02 00:07:16 +00:00
17a77b775b
Add zsh completion for 'docker stats --all -a'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 661cab4af3
Component: cli
2017-06-02 00:07:16 +00:00
5a8a374f3e
bash completion for docker stats --all
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 2607803a34
Component: cli
2017-06-02 00:07:16 +00:00
dcd7b065fd
Fix missing -d flag in docker.fish
...
Signed-off-by: Guilhem Lettron <guilhem@lettron.fr >
Upstream-commit: f239640a2e
Component: cli
2017-06-02 00:07:16 +00:00
50fbc6f6bd
Remove exec-driver global daemon option.
...
Each platform has only a driver now.
Signed-off-by: David Calavera <david.calavera@gmail.com >
Upstream-commit: f9b805f16f
Component: cli
2017-06-02 00:07:15 +00:00
5ab60b10fd
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 >
Upstream-commit: c5ed875bd9
Component: cli
2017-06-02 00:07:15 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
5ccdc08796
Add zsh completion for 'docker network'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: cbc9cbde21
Component: cli
2017-06-02 00:07:12 +00:00