Harald Albers
cc6a1b8bb3
bash completion for daemon events
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-05-24 17:19:03 +02:00
Fabrizio Soppelsa
e009ebdf4c
Add a --filter option to `docker search`
...
The filtering is made server-side, and the following filters are
supported:
* is-official (boolean)
* is-automated (boolean)
* has-stars (integer)
Signed-off-by: Fabrizio Soppelsa <fsoppelsa@mirantis.com>
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-05-20 13:41:28 +02:00
Mrunal Patel
fb43ef649b
Add support for --pid=container:<id>
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-05-17 13:49:05 -04:00
Sebastiaan van Stijn
a213a446d7
Merge pull request #22714 from albers/completion-logs--details
...
bash completion for `docker logs --details`
2016-05-13 14:37:45 +02:00
Harald Albers
d166c8fbb2
bash completion for `docker logs --details`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-05-13 08:42:43 +02:00
Harald Albers
cc6bcaaddc
bash completion for `docker daemon --max-concurrent-{down,up}load`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-05-13 08:25:53 +02:00
Damien Nadé
79490a6ad3
contrib/completion/bash/docker: _docker_docker: quoting __docker_to_extglob result to avoid failglob interference
...
Signed-off-by: Damien Nadé <github@livna.org>
2016-05-02 16:53:43 +02:00
Sebastiaan van Stijn
23e418b6c9
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>
2016-04-29 16:22:26 +02:00
Dan Walsh
9caf7aeefd
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>
2016-04-12 13:37:31 -04:00
Sebastiaan van Stijn
f832183e33
Merge pull request #21884 from albers/completion-volume-ls-filter
...
bash completion for `docker volume ls -f {driver,name}`
2016-04-08 14:33:09 -07:00
Harald Albers
3cf856ce0c
bash completion for `docker volume ls -f {driver,name}`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-04-08 13:45:44 +02:00
Harald Albers
472030e9cc
bash completion for `--log-opt syslog-format`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-04-08 13:19:25 +02:00
Vincent Demeester
4745656e18
Merge pull request #21645 from albers/completion-history--human
...
bash completion for `docker history --human`
2016-03-30 12:19:47 +02:00
Harald Albers
a2dbf7626c
bash completion for `docker history --human`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-29 21:56:24 -07:00
Sebastiaan van Stijn
7e63ed90aa
Merge pull request #21610 from albers/completion-no-new-privileges
...
bash completion for `docker {run,create} --security-opt no-new-privileges
2016-03-29 16:52:04 -07:00
Harald Albers
39b9b63e36
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>
2016-03-29 10:24:45 -07:00
Harald Albers
e96d086afd
bash completion for `docker {run,create} --security-opt no-new-privileges`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-29 09:59:04 +02:00
David Calavera
d7382c1fa3
Merge pull request #21577 from albers/completion-dm.min_free_space
...
bash completion for `dm.min_free_space`
2016-03-28 15:42:21 -07:00
David Calavera
d48b1c6de5
Merge pull request #21579 from albers/completion-run--userns
...
bash completion for `docker {run,create} --userns`
2016-03-28 11:31:55 -07:00
Harald Albers
020998e24c
fix bash completion for `docker run --security-opt`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-28 08:07:28 -07:00
Harald Albers
62475684b9
bash completion for `docker {run,create} --userns`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-28 06:47:33 -07:00
Harald Albers
eae4e84c66
bash completion for storage option `dm.min_free_space`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-28 05:15:56 -07:00
Harald Albers
aeaba46c2c
bash completion for `docker daemon --containerd`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-28 04:30:02 -07:00
David Calavera
aa7be04e52
Merge pull request #21520 from albers/completion-labels-everywhere
...
bash completion for labels on build, networks and volumes
2016-03-25 11:05:45 -07:00
Harald Albers
a2958aa18f
bash completion for labels on build, networks and volumes
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-25 10:56:04 -07:00
Harald Albers
06e357da35
bash completion for new fluentd log driver options
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-25 03:31:48 -07:00
David Calavera
68c920883e
Merge pull request #21483 from albers/completion-load--quiet
...
bash completion for `docker load --quiet`
2016-03-24 11:03:50 -07:00
Harald Albers
aa9170f066
bash completion for `docker load --quiet`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-24 18:39:57 +01:00
Harald Albers
ef0570abfc
bash completion for `docker ps -f volume`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-24 18:23:25 +01:00
David Calavera
cb9aeb0413
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>
2016-03-17 13:34:42 -04:00
Harald Albers
854ceaaa9e
bash completion for gelf-compression log driver settings
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-03-16 15:58:58 +01:00
Jessica Frazelle
69cf03700f
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>
2016-03-08 07:55:01 -08:00
Sebastiaan van Stijn
3c4d093bab
Merge pull request #18766 from mikedanese/gcplogs
...
Add logging driver for Google Cloud Logging
2016-03-02 02:09:44 +01:00
Mike Danese
ed1b9fa07a
daemon/logger: Add logging driver for Google Cloud Logging
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-03-01 08:06:10 -08:00
Ken Cochrane
aee260d4eb
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>
2016-02-29 17:53:27 -08:00
Vincent Demeester
5d33ff7e9d
Merge pull request #20562 from albers/completion-update--restart
...
Add bash completion for `docker update --restart`
2016-02-22 13:44:31 +01:00
Harald Albers
dd4aa7f0e9
bash completion for `docker update --restart`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-02-21 10:21:28 -08:00
Harald Albers
1cd6b545ec
bash completion for etwlogs logging driver
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-02-21 09:58:42 -08:00
Aidan Hobson Sayers
d736a9d2c3
Add docs for --ipv6 option, also add --internal as appropriate
...
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
2016-02-12 01:42:15 +00:00
Harald Albers
7e31a96d22
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>
2016-02-07 11:19:04 -08:00
Harald Albers
6f9bd6c1b8
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>
2016-02-07 10:57:46 -08:00
Tianon Gravi
75aa7dbe4f
Add some basic bash completion for seccomp values
...
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2016-02-03 13:48:34 -08:00
Vincent Woo
87a450a37f
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>
2016-02-01 16:19:18 -05:00
Jessica Frazelle
c40f487c5c
update bash completions for push and pull
...
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2016-01-29 10:14:36 -08:00
Harald Albers
0e5ea96fa6
Improve bash completion for users and groups
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-28 09:48:47 -08:00
Harald Albers
11fe3edacb
bash completion for journald tag support
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-28 08:41:37 +01:00
Harald Albers
a381efcf39
Improve bash completion for `docker volume ls -f dangling`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-27 09:32:14 +01:00
Vincent Demeester
805a107df4
Merge pull request #19736 from albers/completion-network-rm-custom
...
Let bash completion for `docker network rm` only complete custom networks
2016-01-27 09:07:47 +01:00
Brian Goff
146e49b039
Merge pull request #19671 from calavera/volume-dangling
...
Make volume dangling filter return only used volumes with `dangling=false`.
2016-01-26 17:01:20 -05:00
David Calavera
9e2b63e0ae
Fix bash completion for `docker volume ls --dangling=false`.
...
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-01-26 14:29:37 -05:00
Harald Albers
0e1bfdd43e
Let bash completion for `docker network rm` only complete custom networks
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-26 10:57:38 -08:00
Harald Albers
62f366490b
bash completion for `docker daemon --userns-remap`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-26 10:24:47 -08:00
Brian Goff
714587196b
Merge pull request #19643 from albers/completion-nospace
...
fix minor bash completion issue on OSX (compopt)
2016-01-24 20:58:33 -05:00
Vincent Demeester
84e4fb8b0a
Merge pull request #19641 from albers/completion-syslog-tls
...
bash completion for syslog over TLS log driver
2016-01-24 22:14:54 +01:00
Antonio Murdaca
0764706dcc
Merge pull request #19636 from albers/completion-daemon--cluster-store-opt
...
bash completion for new `--cluster-store-opt` values
2016-01-24 22:12:37 +01:00
Vincent Demeester
460f491457
Merge pull request #19642 from albers/completion-tag-f
...
Remove completion for `docker tag -f`
2016-01-24 22:10:23 +01:00
Antonio Murdaca
a3cfdb5a31
Merge pull request #19633 from albers/completion-ps-filter-dead
...
bash completion for `docker ps --filter status=dead`
2016-01-24 22:04:56 +01:00
Antonio Murdaca
672ca81869
Merge pull request #19632 from albers/completion-cp--follow-link
...
bash completion for `docker cp --follow-link`
2016-01-24 22:04:26 +01:00
Harald Albers
6b28e1bbe2
fix minor bash completion issue on OSX (compopt)
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-24 10:28:36 -08:00
Harald Albers
59754c4bd8
remove bash completion for `docker tag -f`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-24 10:07:04 -08:00
Harald Albers
6723c8aa26
bash completion for syslog over TLS log driver
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-24 09:34:30 -08:00
Harald Albers
17eb18899e
bash completion for `--cluster-store-opt kv.path discovery.{heartbeat,ttl}`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-24 07:24:12 -08:00
Harald Albers
7f345f2ec4
bash completion for `docker images -f dangling=false`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-24 06:36:04 -08:00
Harald Albers
0f654bb5eb
bash completion for `docker ps --filter status=dead`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-24 05:57:57 -08:00
Harald Albers
7b3058b864
bash completion for `docker cp --follow-link`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-24 05:39:52 -08:00
Harald Albers
ab01b6f385
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>
2016-01-21 14:24:31 +01:00
Harald Albers
fcc035848f
Support new events in bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-21 13:57:35 +01:00
Tianon Gravi
8a4b4f5950
Merge pull request #19409 from albers/completion-network-links
...
bash completion for container linking and aliasing
2016-01-18 08:36:33 -08:00
Harald Albers
6ae4ffb6e5
bash completion for `docker network create --internal, --ipam-opt`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-18 07:50:26 -08:00
Harald Albers
67fe772ca6
bash completion for container linking and aliasing
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-18 07:11:19 -08:00
Harald Albers
b24ded193f
bash completion for `--detach-keys`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-14 13:47:20 -08:00
Tibor Vass
612cf0f172
Merge pull request #19279 from tiborvass/rename-authz-to-authorization
...
Rename authz to authorization for greater clarity
2016-01-13 14:30:18 -05:00
Tibor Vass
5c630ea7c3
Rename authz to authorization for greater clarity
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-01-13 14:15:37 -05:00
Harald Albers
40f73c7c8e
bash completion for connecting non-running containers to networks
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-13 10:32:23 +01:00
Harald Albers
3f6b0f4c7c
bash completion for `docker {build,create,run} --shm-size`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-09 09:27:45 -08:00
Harald Albers
97f84b5dc1
bash completion for `docker update`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-06 10:20:33 -08:00
Vincent Demeester
4f8d794c46
Merge pull request #19097 from albers/completion-daemon--cgroup-parent
...
bash completion for `docker daemon --cgroup-parent`
2016-01-05 19:56:51 +01:00
Harald Albers
9e624d3250
bash completion for `--isolation`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-05 09:59:29 -08:00
Harald Albers
ce2cbde841
bash completion for `docker daemon --cgroup-parent`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-05 09:29:37 -08:00
Harald Albers
2134d38935
Compute plugin list in bash completion for `docker daemon --authz-plugin`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-01-02 14:53:10 -08:00
Harald Albers
f2ba1e4d80
bash completion for `docker network ls --filter`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2015-12-27 09:28:19 -08:00
Harald Albers
f03695efc1
remove `--format` from bash completion for `docker network rm`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2015-12-22 11:35:41 -08:00
Harald Albers
e715daab3d
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>
2015-12-22 13:38:02 +01:00
Sebastiaan van Stijn
312c82677b
Merge pull request #15879 from Mashimiao/add-support-blkio_throtte_iops
...
Add support for blkio read/write iops device
2015-12-21 23:45:18 +01:00
David Calavera
88c4d4a943
Merge pull request #18828 from albers/completion-plugins
...
Use computed plugin lists in bash completion
2015-12-21 09:57:48 -08:00
Harald Albers
2033c09705
Use computed plugin lists in bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
2015-12-21 18:30:23 +01:00
Vincent Demeester
34a3c3cacf
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>
2015-12-21 17:38:07 +01:00
Ma Shimiao
843084b08b
Add support for blkio read/write iops device
...
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2015-12-21 09:14:49 +08:00
Harald Albers
069fe81fa6
bash completion for `docker daemon --authz-plugin`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2015-12-14 13:25:45 -08:00
Harald Albers
d7c9ae60e6
Improve bash completion for `docker network disconnect`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2015-12-07 09:55:00 +01:00
Jess Frazelle
87a614ed55
Merge pull request #17989 from jfrazelle/initial-seccomp-support
...
Phase 1: Initial seccomp support
2015-12-05 08:33:58 -08:00
Ma Shimiao
3f15a055e5
Add support for blkio read/write bps device
...
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2015-12-04 09:26:03 +08:00
Jessica Frazelle
ae76f7e23e
update bash completion for seccomp
...
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-12-03 16:30:49 -08:00
Phil Estes
4d849619d4
Merge pull request #17481 from vdemeester/17446-network-inspect-format
...
Add format flag to network inspect
2015-12-03 16:16:04 -05:00
Vincent Demeester
295c27388d
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>
2015-12-02 22:32:10 +01:00
Arnaud Porterie
8f1f53f735
Merge pull request #16277 from runcom/add-oom-score-adj
...
Add OomScoreAdj
2015-12-02 11:49:51 -08:00
Dan Walsh
b3e527dfd2
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>
2015-12-02 10:06:59 -05:00
Antonio Murdaca
d3af7f283d
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>
2015-11-30 11:19:04 +01:00
Alexander Morozov
a3065fa48f
Merge pull request #17891 from splunk/splunk-logger-support-for-tag-env-labels
...
Allow configurable metadata for Splunk log driver
2015-11-16 10:11:27 -08:00
Harald Albers
d411c47139
bash completion for `docker {run,create} --volume-driver`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2015-11-15 09:53:22 -08:00