Commit Graph

169 Commits

Author SHA1 Message Date
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
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
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
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
4076bc780d update bash completions for push and pull
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
Upstream-commit: 5420ca8cde
Component: cli
2017-06-02 00:07:27 +00:00
5a7e5302c6 Improve bash completion for users and groups
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 49347e571c
Component: cli
2017-06-02 00:07:27 +00:00
da0b87b3b6 bash completion for journald tag support
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 437b2748c2
Component: cli
2017-06-02 00:07:27 +00:00
4649915bb4 Improve bash completion for docker volume ls -f dangling
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5d1e84419a
Component: cli
2017-06-02 00:07:27 +00:00
0d0af7552d Let bash completion for docker network rm only complete custom networks
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0c473c9e9c
Component: cli
2017-06-02 00:07:27 +00:00
196808c668 Fix bash completion for docker volume ls --dangling=false.
Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: 0441148c7d
Component: cli
2017-06-02 00:07:26 +00:00
cb662ca713 bash completion for docker daemon --userns-remap
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 645055b37d
Component: cli
2017-06-02 00:07:26 +00:00
a6cc17338a fix minor bash completion issue on OSX (compopt)
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f9a1ff0795
Component: cli
2017-06-02 00:07:26 +00:00
d60ff884b6 bash completion for syslog over TLS log driver
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: bdfbd1d9a6
Component: cli
2017-06-02 00:07:26 +00:00
ceb1b79744 bash completion for --cluster-store-opt kv.path discovery.{heartbeat,ttl}
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: d75f2e95a0
Component: cli
2017-06-02 00:07:26 +00:00
e90086e143 remove bash completion for docker tag -f
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: b50ca03b9a
Component: cli
2017-06-02 00:07:26 +00:00
c8e83c8fba bash completion for docker ps --filter status=dead
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 58013afb39
Component: cli
2017-06-02 00:07:26 +00:00
ca11a29225 bash completion for docker cp --follow-link
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 4808cc1282
Component: cli
2017-06-02 00:07:26 +00:00
706dd47168 bash completion for docker images -f dangling=false
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: b3bb4d45dd
Component: cli
2017-06-02 00:07:26 +00:00
bff99821a5 Refactor handling of key specific subcompletions
The currently used idiom for handling key specific subcompletions
did not work here: behind `docker event -f type=network `, the completion
of networks triggered. The expected behaviour is not to complete
anything here.

In order to limit the scope of the corresponding PR, the new idiom is
currently only used in `docker events --filter`.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 869890dfbd
Component: cli
2017-06-02 00:07:25 +00:00
8e4ce2fbca Support new events in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 4e97e95cd8
Component: cli
2017-06-02 00:07:25 +00:00
3a19e416a5 bash completion for container linking and aliasing
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 16c9a72852
Component: cli
2017-06-02 00:07:24 +00:00
bd29bc3d11 bash completion for docker network create --internal, --ipam-opt
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 09809fe27e
Component: cli
2017-06-02 00:07:24 +00:00
d9137eb323 bash completion for --detach-keys
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: de6da285a3
Component: cli
2017-06-02 00:07:24 +00:00
a73814be6f Rename authz to authorization for greater clarity
Signed-off-by: Tibor Vass <tibor@docker.com>
Upstream-commit: 7f6a7ed8d1
Component: cli
2017-06-02 00:07:23 +00:00
387a498ba3 bash completion for connecting non-running containers to networks
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9c8b6e05a4
Component: cli
2017-06-02 00:07:23 +00:00
8599a275e8 bash completion for docker {build,create,run} --shm-size
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: caa120d3ca
Component: cli
2017-06-02 00:07:22 +00:00
79867c6e60 bash completion for docker update
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: effe34067f
Component: cli
2017-06-02 00:07:22 +00:00
97f4d44222 bash completion for docker daemon --cgroup-parent
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3b7695959d
Component: cli
2017-06-02 00:07:22 +00:00
1b6d288f2e bash completion for --isolation
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 442d408fc7
Component: cli
2017-06-02 00:07:22 +00:00
635afa8762 Compute plugin list in bash completion for docker daemon --authz-plugin
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9a63a5cdd6
Component: cli
2017-06-02 00:07:21 +00:00
c7196f1df6 bash completion for docker network ls --filter
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: c8195c7cd5
Component: cli
2017-06-02 00:07:21 +00:00
6751d5384e remove --format from bash completion for docker network rm
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a36ca600a0
Component: cli
2017-06-02 00:07:21 +00:00
318570eaba Better function names in bash completion
The new names make it easier to distinguish between helper functions and
functions that actually perform completion by modifying the global COMPOPT
variable.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: c227b6ac11
Component: cli
2017-06-02 00:07:21 +00:00
7b918f92d1 Add support for blkio read/write iops device
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Upstream-commit: 499d634f32
Component: cli
2017-06-02 00:07:21 +00:00
94dadfbef1 Use computed plugin lists in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 57a8c59820
Component: cli
2017-06-02 00:07:21 +00:00
736589dc45 Add --format support to images command
- rename `api/client/ps` to `api/client/formatter`
- add a a image formatter

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 1e3c5bbe15
Component: cli
2017-06-02 00:07:21 +00:00
84aa7c81c3 bash completion for docker daemon --authz-plugin
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9339b4abb5
Component: cli
2017-06-02 00:07:20 +00:00
562373192d Improve bash completion for docker network disconnect
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: b4a012656c
Component: cli
2017-06-02 00:07:19 +00:00
a356fd2640 update bash completion for seccomp
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
Upstream-commit: ac40ecf711
Component: cli
2017-06-02 00:07:19 +00:00
8c726d1e3f Add support for blkio read/write bps device
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Upstream-commit: 9480c4763d
Component: cli
2017-06-02 00:07:19 +00:00
3701e83b63 Add format flag to network inspect
…for consistency as docker inspect and docker volume inspect supports it too

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: c6162061d9
Component: cli
2017-06-02 00:07:19 +00:00
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
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