Commit graph

280 commits

Author SHA1 Message Date
Vincent Demeester
a859a33647
Use "on-failure" for both containers and services
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-07-07 11:32:19 +02:00
Harald Albers
dd883b0ce2 Add bash completion for docker ps --last
Signed-off-by: Harald Albers <github@albersweb.de>
2016-07-03 10:36:34 -07:00
Harald Albers
e3339a75d3 bash completion enhancements for docker {swarm,node,service}
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-22 20:23:46 +02:00
Sven Dowideit
a6f7167c0a Merge pull request #23805 from albers/completion--cpu-shares--c
bash completion for `-c` alias to `--cpu-shares`
2016-06-21 21:19:06 +10:00
Sven Dowideit
5ba6b1e89c Merge pull request #23804 from albers/completion-btrfs-min_space
bash completion for `docker daemon --storage-opt btrfs.min_space`
2016-06-21 21:18:49 +10:00
Sven Dowideit
a1eb6528eb Merge pull request #23803 from albers/completion-run--storage-opt
bash completion for `docker {run,create} --storage-opt`
2016-06-21 21:18:32 +10:00
Sven Dowideit
38b07e7fa6 Merge pull request #23800 from albers/completion-events-load-save
bash completion for `load` and `save` image events
2016-06-21 21:18:16 +10:00
Sven Dowideit
d5939876be Merge pull request #23799 from albers/completion-storage-driver-overlay2
bash completion for `docker daemon --storage-driver olverlay2`
2016-06-21 21:18:01 +10:00
Harald Albers
79296b2770 bash completion for -c alias to --cpu-shares
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-21 11:30:26 +02:00
Harald Albers
f693b99870 bash completion for docker daemon --storage-opt btrfs.min_space
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-21 11:11:11 +02:00
Harald Albers
7d2ffa00c0 bash completion for docker {run,create} --storage-opt
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-21 11:04:09 +02:00
Harald Albers
5334520bf0 bash completion for load and save image events
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-21 10:26:21 +02:00
Harald Albers
d96eeff194 bash completion for docker daemon --storage-driver olverlay2
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-21 10:19:07 +02:00
Harald Albers
98483f57ed bash completion for docker {run,create,network connect} --link-local-ip
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-21 09:43:34 +02:00
Harald Albers
e65f036e13 fix bash completion for docker {swarm,node} subcommands
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-18 10:28:20 -07:00
Harald Albers
19753ec84d 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>
2016-06-18 09:54:44 -07:00
Mike Goelzer
5cf73a47f5 Add bash completion for docker service scale
Signed-off-by: Mike Goelzer <mike.goelzer@docker.com>

Conflicts:
	contrib/completion/bash/docker
2016-06-18 09:27:06 -07:00
Sebastiaan van Stijn
2989e7b2a0 Merge pull request #23665 from albers/fix-completion-service
fix bash completion for `docker service` subcommands
2016-06-17 17:54:49 -07:00
Harald Albers
42f3b1f4ad fix bash completion for docker service subcommands
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-17 09:49:46 +02:00
Harald Albers
dc2fc75d42 bash completion for docker swarm update --cert-expiry
Signed-off-by: Harald Albers <github@albersweb.de>
2016-06-17 08:49:06 +02: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