Commit Graph

271 Commits

Author SHA1 Message Date
Harald Albers 5604fb2362 bash completion for `-c` alias to `--cpu-shares`
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 79296b2770b6d629a2e6ab02f888294a99f62153)
2016-06-30 16:47:42 -07:00
Harald Albers b23562ea20 bash completion for `docker daemon --storage-opt btrfs.min_space`
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit f693b99870031a6f5311defa9aba13b690323594)
2016-06-30 16:47:42 -07:00
Harald Albers 0afeae16de bash completion for `docker {run,create} --storage-opt`
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 7d2ffa00c08e2f316285fe2f9adf81255f5ae688)
2016-06-30 16:47:42 -07:00
Harald Albers 749f94e885 bash completion for `load` and `save` image events
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 5334520bf04598121b026c0b5018714fd4120d44)
2016-06-30 16:47:41 -07:00
Harald Albers 5188629256 bash completion for `docker daemon --storage-driver olverlay2`
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit d96eeff19416be61e7e021c9dfaed8728a177d02)
2016-06-30 16:47:41 -07:00
Harald Albers 9117c0dd41 bash completion for `docker {run,create,network connect} --link-local-ip`
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 98483f57ed984acd0d1c1f0de85c2b82c0308896)
2016-06-30 16:47:41 -07:00
Harald Albers 75193e58ce fix bash completion for `docker {swarm,node}` subcommands
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit e65f036e134c428b1303b00a8f08b0eea79f0701)
2016-06-30 16:47:38 -07:00
Harald Albers a4e3415235 correct sort order in new bash completions
The completion for the new `docker service`, `docker swarm` and
`docker node` command families were partly added in non-alphabetical
order.

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 19753ec84dcd2961adf64c4c66b09a2f4ca3220a)
2016-06-30 16:47:38 -07:00
Mike Goelzer b8b938c61c Add bash completion for `docker service scale`
Signed-off-by: Mike Goelzer <mike.goelzer@docker.com>

Conflicts:
	contrib/completion/bash/docker

(cherry picked from commit 5cf73a47f5327c38b27400012333a9e569f1a584)
2016-06-30 16:47:38 -07:00
Harald Albers ffb4daf0fb fix bash completion for `docker service` subcommands
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 42f3b1f4adeb251e15ea0ca0af2a1e98cb9a7145)
2016-06-18 20:58:23 -07:00
Harald Albers fcdd4d4a52 bash completion for `docker swarm update --cert-expiry`
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit dc2fc75d4260767937d98ea81c51fdea148162b2)
2016-06-17 13:09:11 -07:00
Arnaud Porterie (icecrime) e6e1fd5d06
Make `--dispatcher-heartbeat-period` a duration
Make `--dispatcher-heartbeat-period` a duration in `docker swarm
update`, allowing to express the value as "5s", "1h", etc.

Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com>
2016-06-14 18:10:49 -07:00
Mike Goelzer 35e2970b98 Update bash completion for Docker 1.12 CLI commands
Signed-off-by: Mike Goelzer <mike.goelzer@docker.com>
2016-06-14 12:57:40 -07:00
Kenfe-Mickael Laventure 6e9bf4d316 Add bash completion support for --runtime and --add-runtime
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-06-14 07:47:31 -07:00
Kenfe-Mickael Laventure 1a6ed50e1f Add missing completion for --config-file
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-06-14 07:47:31 -07:00
Lei Jitang 74873f192a Merge pull request #23506 from albers/completion-daemon---live-restore
bash completion for `docker daemon --live-restore`
2016-06-14 17:24:00 +08:00
Harald Albers 73882e8f83 bash completion for `docker daemon --live-restore`
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-14 09:14:25 +02:00
Dmitry Smirnov 546594eaaa Fix syntax errors in bash-completion (Closes: #23483)
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2016-06-13 19:12:31 +10:00
Harald Albers 337eaab5d1 bash completion for `docker ps --filter network`
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-07 12:44:17 -07:00
Harald Albers e8c67e8d8d fix bash completion for dockerd with path
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-06 10:01:15 +02:00
Harald Albers 9c9cbd2c0f bash completion for detach events
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-05 08:41:58 -07:00
Vincent Demeester 5429f4ef61 Merge pull request #23239 from albers/completion-run-healthcheck
bash completion for `docker run` healthcheck options
2016-06-03 18:17:15 +02:00
Harald Albers f738e6a732 bash completion for `docker run` healthcheck options
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-03 17:04:04 +02:00
Harald Albers 4b5ccd7342 bash completion for `docker search --limit`
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-03 16:32:37 +02:00
Harald Albers 5f1c5b28a7 bash completion for dockerd
Signed-off-by: Harald Albers <github@albersweb.de>
2016-05-29 07:09:05 -07:00
Vincent Demeester 750e16f57c
Add before and since filter to images
Add support for two now filter on the `images` command : `before` and
`since`. They work the same as the one on the `ps` command but for
images.

        $ docker images --filter before=myimage
        # display all images older than myimage
        $ docker images --filter since=myimage
        # display all images younger than myimage

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-05-25 13:49:10 +02:00
Harald Albers c49d327406 bash completion for `docker ps -f {before,since}`
Signed-off-by: Harald Albers <github@albersweb.de>
2016-05-25 09:35:33 +02:00
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