Commit Graph

302 Commits

Author SHA1 Message Date
ef93f78e3e contrib/completion/bash/docker: _docker_docker: quoting __docker_to_extglob result to avoid failglob interference
Signed-off-by: Damien Nadé <github@livna.org>
Upstream-commit: 63d80a2ba8
Component: cli
2017-06-02 00:07:38 +00:00
4dfe07650b Make zsh completion work when ps output is custom
When `psFormat` is used in the docker client config json, if the output
is non-standard it breaks some of the completion handling for
containers.

This fixes that by ensuring that calls to `ps` use the default/standard
formatting by calling `docker ps --format 'table'`

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 8b38343e46
Component: cli
2017-06-02 00:07:37 +00:00
c056ddf222 Add zsh completion for 'docker network ls -f driver'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: d3274f9217
Component: cli
2017-06-02 00:07:37 +00:00
707ffcbec6 Add "driver" filter for network ls
This add a new filter to 'docker network ls'
to allow filtering by driver-name.

Contrary to "ID" and "name" filters, this
filter only supports an *exact* match.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: efff6c2b24
Component: cli
2017-06-02 00:07:37 +00:00
7f8253b462 Add zsh completion for 'docker network ls -f {id,name,type}'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 586ec24a48
Component: cli
2017-06-02 00:07:37 +00:00
9707b8a83b add zsh completion for 'docker {build,create,run} --disable-content-trust'
Signed-off-by: Ke Xu <leonhartx.k@gmail.com>
Upstream-commit: 610c653172
Component: cli
2017-06-02 00:07:36 +00:00
54794d1169 Add support for setting sysctls
This patch will allow users to specify namespace specific "kernel parameters"
for running inside of a container.

Signed-off-by: Dan Walsh <dwalsh@redhat.com>
Upstream-commit: a60c612a04
Component: cli
2017-06-02 00:07:36 +00:00
3ccbcc5dad Add zsh completion for 'docker volume ls -f {dangling,driver,name}'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 8feaef5740
Component: cli
2017-06-02 00:07:35 +00:00
8414cf936a Add zsh completion for '--log-opt syslog-format=rfc5424micro'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 6d7b352715
Component: cli
2017-06-02 00:07:35 +00:00
e7ce49e80a Add zsh completion for '--log-opt syslog-format'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: b7f5138adb
Component: cli
2017-06-02 00:07:35 +00:00
17377f39e1 bash completion for docker volume ls -f {driver,name}
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3b1ae8bbd6
Component: cli
2017-06-02 00:07:35 +00:00
d6110c8d2a bash completion for --log-opt syslog-format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 35bad4a914
Component: cli
2017-06-02 00:07:35 +00:00
1c18e6b80e bash completion for docker history --human
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e2491d2a7e
Component: cli
2017-06-02 00:07:35 +00:00
ee21393db0 bash completion for docker {run,create} --security-opt no-new-privileges
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 327d937bf0
Component: cli
2017-06-02 00:07:34 +00:00
1ecce45345 bash completions: Improve consistency for options with default=true
Completion of these options was not handled consistently.
Now all such options immediatly complete with =false appended.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 77c0ed6344
Component: cli
2017-06-02 00:07:34 +00:00
0f4cae7392 bash completion for storage option dm.min_free_space
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 7eb597c63d
Component: cli
2017-06-02 00:07:34 +00:00
5a0476d383 bash completion for docker {run,create} --userns
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e338af7123
Component: cli
2017-06-02 00:07:34 +00:00
2a26bafd95 Add zsh completion for 'docker {create,run} --userns'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 2a3935e24a
Component: cli
2017-06-02 00:07:34 +00:00
4aaefb9c53 fix bash completion for docker run --security-opt
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 062454975a
Component: cli
2017-06-02 00:07:34 +00:00
0d85d15fef Add zsh completion for 'docker daemon --containerd'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 043b5f05ed
Component: cli
2017-06-02 00:07:34 +00:00
74852d795a bash completion for docker daemon --containerd
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f56848dc6b
Component: cli
2017-06-02 00:07:34 +00:00
c3d7937744 Add zsh completion for gelf-compression log driver options
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: cfaba16a9b
Component: cli
2017-06-02 00:07:34 +00:00
0a70fe7330 Add zsh completion for 'docker ps --filter' values
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: bcdfbb8156
Component: cli
2017-06-02 00:07:34 +00:00
6dfa3b0e4f Add zsh completion for etwlogs and gcplogs log drivers
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: f52489ec85
Component: cli
2017-06-02 00:07:33 +00:00
d4e880ce61 Add zsh completion for journald tag opt
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 4972d8b64d
Component: cli
2017-06-02 00:07:33 +00:00
5795c31399 Add zsh completion for 'docker update --restart'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 68b1453a68
Component: cli
2017-06-02 00:07:33 +00:00
11f575cdab Add zsh completion for 'docker {pull,push} --disable-content-trust'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: dc9d859c15
Component: cli
2017-06-02 00:07:33 +00:00
b9f2cd9466 Add zsh completion for 'docker {build, volume create, network create} --label'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: d020f4c6fd
Component: cli
2017-06-02 00:07:33 +00:00
1cb157a7f4 Add zsh completion for new fluentd log driver options
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: ae33b5b00c
Component: cli
2017-06-02 00:07:33 +00:00
354ec8f508 Add zsh completion for 'docker load -q --quiet'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 8672ba42c0
Component: cli
2017-06-02 00:07:33 +00:00
5663079fbe bash completion for labels on build, networks and volumes
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a28d38cf69
Component: cli
2017-06-02 00:07:33 +00:00
9545c05aab bash completion for new fluentd log driver options
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a11a350519
Component: cli
2017-06-02 00:07:33 +00:00
5e037015a4 bash completion for docker load --quiet
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: beac16919a
Component: cli
2017-06-02 00:07:33 +00:00
22b62409de bash completion for docker ps -f volume
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 4c125babf2
Component: cli
2017-06-02 00:07:33 +00:00
952a037823 Remove unneeded references to execDriver
This includes:
 - updating the docs
 - removing dangling variables

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Upstream-commit: 4ffd1a9433
Component: cli
2017-06-02 00:07:33 +00:00
4728023c9a Consolidate security options to use = as separator.
All other options we have use `=` as separator, labels,
log configurations, graph configurations and so on.
We should be consistent and use `=` for the security
options too.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: a7364b3743
Component: cli
2017-06-02 00:07:32 +00:00
66f76d6253 bash completion for gelf-compression log driver settings
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 84b7025d28
Component: cli
2017-06-02 00:07:32 +00:00
5cd22cf4f4 pids limit support
update bash commpletion for pids limit

update check config for kernel

add docs for pids limit

add pids stats

add stats to docker client

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
Upstream-commit: fd1c2150ad
Component: cli
2017-06-02 00:07:31 +00:00
d6cab2c6e6 daemon/logger: Add logging driver for Google Cloud Logging
Signed-off-by: Mike Danese <mikedanese@google.com>
Upstream-commit: f18d114874
Component: cli
2017-06-02 00:07:30 +00:00
c3a57e2e2d Remove email address field from login
This removes the email prompt when you use docker login, and also removes the ability to register via the docker cli. Docker login, will strictly be used for logging into a registry server.

Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
Upstream-commit: 317cfbd7bd
Component: cli
2017-06-02 00:07:30 +00:00
adb7e7e54a zsh: Reword some descriptions
Use of "Set ..." and "Specify ..." are removed in favor of directly
using nouns.

Also:

 - add description for `run --isolation`
 - reduce description of `run --shm-size`
 - fix `daemon --bip` argument handling

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Upstream-commit: a305246793
Component: cli
2017-06-02 00:07:30 +00:00
eac9076057 bash completion for docker update --restart
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0649b4f517
Component: cli
2017-06-02 00:07:29 +00:00
d045389ec4 bash completion for etwlogs logging driver
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 50f87e458e
Component: cli
2017-06-02 00:07:29 +00:00
a000a3819f Add docs for --ipv6 option, also add --internal as appropriate
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
Upstream-commit: 65c94a34be
Component: cli
2017-06-02 00:07:29 +00:00
a908d790e4 Fish completion lists all containers on "docker rm -f"
Signed-off-by: Frederik Nordahl Jul Sabroe <frederikns@gmail.com>
Upstream-commit: 483c30a698
Component: cli
2017-06-02 00:07:29 +00:00
d6a19a45a1 Improve key specific bash subcompletions
The obscure `case "${words[$cword-2]}$prev=" in` idiom is no
longer used for key specific completions in options with map values.

The `__docker_map_key_of_current_option()` function does a much
better job.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: fcad8ce206
Component: cli
2017-06-02 00:07:28 +00:00
7e815e8fc6 Check key specific bash subcompletions first
This is a refactoring in preparation of cleaning up the handling
of key specific subcompletions.

The new `__docker_map_key_of_current_option()` function will be used
instead of the `__docker_map_key_of_current_option()` idiom in the
following commit.
As this function is very specific, checks using it should be executed
before those checking for `$prev`.

This commit just moves the checks without any modification.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 904481becd
Component: cli
2017-06-02 00:07:28 +00:00
c35b255fed Add some basic bash completion for seccomp values
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Upstream-commit: 3dd7289df6
Component: cli
2017-06-02 00:07:28 +00:00
2f5f29f216 Add powershell completion support
Initial version of powershell tab completion. It completes
commands and container names.

Signed-off-by: Sam Neirinck <sam@samneirinck.com>
Upstream-commit: 494ae5e825
Component: cli
2017-06-02 00:07:28 +00:00
c569643ac6 Allow disabling of colored Docker logs via daemon flag.
Signed-off-by: Vincent Woo <me@vincentwoo.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: 1a10df30ce
Component: cli
2017-06-02 00:07:27 +00:00