Denis Gladkikh
1f1dbf312d
Add Splunk logging driver #16207
...
Allow to send Splunk logs using Http Event Collector
Signed-off-by: Denis Gladkikh <denis@gladkikh.email >
2015-10-23 13:37:53 -07:00
Harald Albers
d0c019850c
bash completion for log driver options env and labels
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-23 10:55:47 +02:00
David Calavera
4816626f3e
Merge pull request #17270 from albers/completion-network-ids
...
bash completion can be configured to complete network IDs
2015-10-22 13:37:38 -07:00
Harald Albers
1598500df8
bash completion can be configured to complete network IDs
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-22 18:58:34 +02:00
Harald Albers
10e485b386
bash completion for docker network inspect supports multiple networks
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-22 17:53:17 +02:00
Tianon Gravi
4786ac1ffe
Merge pull request #17153 from albers/completion-cp-args
...
[Fix 17029] docker cp completion not correct
2015-10-21 14:58:11 -07:00
Tibor Vass
3957368eff
Merge pull request #17149 from albers/completion-network-ipam
...
bash completion for new `docker network create` options
2015-10-20 15:54:05 -04:00
Jess Frazelle
c766bcdc73
Merge pull request #17135 from albers/completion-restart-unless-stopped
...
Bash completion for restart policy `unless-stopped`
2015-10-19 15:26:16 -07:00
Harald Albers
c71c7f4b4f
bash completion for docker cp supports copying both ways
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-18 08:24:02 -07:00
Harald Albers
5013a2fbd6
bash completion for new docker network create options
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-18 05:42:23 -07:00
Harald Albers
2d44ed6d64
bash completion: support for dm.use_deferred_* options
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-18 04:42:17 -07:00
Harald Albers
504d2a9212
Bash completion for restart policy unless-stopped
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-17 07:24:17 -07:00
Vincent Demeester
d1064bd441
Deprecate -c cli short variant flag in docker cli
...
- build
- create
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2015-10-17 00:05:34 +02:00
Tibor Vass
e23d834a01
Merge pull request #17106 from albers/completion-import
...
Add missing options to bash completion for `docker import`
2015-10-16 14:28:14 -07:00
Harald Albers
b0315375f8
Add missing options to bash completion for docker import
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-16 12:42:12 +02:00
Harald Albers
3a713d91ce
bash completion: minor refactoring for consistency
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-16 12:41:09 +02:00
Harald Albers
28c66b0491
Add missing options to bash completion for docker build
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-16 12:40:55 +02:00
Madhu Venugopal
46f7ab3585
Added network to docker --help and help cleanup
...
Fixes https://github.com/docker/docker/issues/16909
Signed-off-by: Madhu Venugopal <madhu@docker.com >
2015-10-15 03:10:39 -07:00
Harald Albers
29714ee836
Add bash completion for docker inspect --size
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-14 17:34:56 +02:00
Harald Albers
68de2d4834
Bash completion for docker network
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-11 11:07:48 -07:00
Harald Albers
e4bf5cff49
Refactor bash completion: pull out subcommand parsing
...
`docker network` is the second command with subcommands.
This refactoring pulls out parsing and processing of subcommands
from `docker volume` completion and thus makes its logic available
for other commands.
Also enables `__docker_pos_first_nonflag` for subcommand completion.
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-11 11:07:33 -07:00
Harald Albers
a095f82877
Add bash completion for --cluster-store-opt
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-09 14:00:52 +02:00
Jessica Frazelle
c559d8ebf7
change flag name to better follow the other flags that start with disable;
...
Signed-off-by: Jessica Frazelle <acidburn@docker.com >
2015-10-07 10:16:37 -07:00
Harald Albers
3f04ab2fc7
Add bash completion for --no-legacy-registry
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-10-04 06:49:42 -07:00
Harald Albers
1c71c1995f
bash completion for docker daemon --cluster-*
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-09-28 11:23:23 +02:00
qhuang
aa1780997f
Add support for memory reservation
...
Signed-off-by: qhuang <qhuang@10.0.2.15>
2015-09-23 14:02:45 +08:00
Harald Albers
9d8f9943e9
Bash completion: avoid 'compopt: command not found' errors on Mac OS
...
The shell builtin `compopt` is not available on the outdated bash
version 3.2.57 that ships with Mac OS.
It is used in Docker's bash completion to suppress trailing spaces
in advanced completions of hash map options, e.g. `--log-opt`.
If `compopt` is not available, the new behavior is to do nothing,
i.e. the user will have to delete the additional space.
Signed-off-by: Harald Albers <github@albersweb.de >
2015-09-22 12:17:30 -07:00
Harald Albers
5d6ca225d1
bash completion: use generic tag log driver option
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-09-18 16:20:05 +02:00
Tim Hockin
3d4685e258
Add support for DNS options
...
Signed-off-by: Tim Hockin <thockin@google.com >
2015-09-16 14:06:45 -07:00
Harald Albers
0a5aac1ff6
Fix bash completion when extglob is not set
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-09-16 18:17:40 +02:00
David Calavera
0e50d946a2
Signal to stop a container.
...
Allow to set the signal to stop a container in `docker run`:
- Use `--stop-signal` with docker-run to set the default signal the container will use to exit.
Signed-off-by: David Calavera <david.calavera@gmail.com >
2015-09-10 19:56:05 -04:00
Samuel Karp
3effe484e6
Add awslogs driver for Amazon CloudWatch Logs
...
Signed-off-by: Samuel Karp <skarp@amazon.com >
2015-09-09 13:52:40 -07:00
Harald Albers
57ab4a1a6c
bash completion for docker volume
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-09-07 13:22:57 -07:00
Vincent Demeester
6ae2cb7ad1
Add docker ps --filter=… image completion
...
I missed that on #15919 , thanks @albers
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2015-09-01 08:47:02 +02:00
Vincent Demeester
672bae2dc0
Update shell completion on docker ps for ancestor
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2015-08-28 20:56:52 +02:00
David Calavera
cb00396f61
Merge pull request #15332 from pugnascotia/master
...
Make run and rmi bash completions configurable
2015-08-24 10:49:01 +02:00
Qiang Huang
b6f1b4ad35
Add support for kernel memory limit
...
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com >
2015-08-19 23:56:55 +08:00
Harald Albers
18381faee6
Fix bash completion for log driver options
...
This option was incorrectly ported to the new `daemon` subcommand
structure.
Beside the obvious effect that completion of `docker daemon --log-opt`
did not work, this also caused completion of `docker` and `docker xxx`
to fail on macs with
> bash: words: bad array subscript
Signed-off-by: Harald Albers <github@albersweb.de >
2015-08-18 09:17:29 +02:00
Sebastiaan van Stijn
e1f3a5ad0a
Merge pull request #14113 from dit4c/10348-exec-privileged
...
Remerge of `docker exec --privileged` with better tests
2015-08-16 00:20:41 +02:00
David Calavera
313b37129a
Merge pull request #15525 from albers/completion-option-updates
...
Updates to bash completion for docker run and docker daemon.
2015-08-14 13:55:11 -07:00
Rory Hunter
60d97a4a63
Make run and rmi bash completions configurable
...
Allow the user to configure how Docker's bash completion works for the
"events", "history", "inspect", "run", "rmi" and "save" commands through the
following environment variables:
DOCKER_COMPLETION_SHOW_IMAGE_IDS
"none" - Show names only (default)
"non-intermediate" - Show names and ids, but omit intermediate image IDs
"all" - Show names and ids, including intermediate image IDs
DOCKER_COMPLETION_SHOW_TAGS
"yes" - include tags in completion options (default)
"no" - don't include tags in completion options
Fixes #9474 .
Signed-off-by: Rory Hunter <roryhunter2@gmail.com >
2015-08-14 11:29:29 +01:00
Tim Dettrick
03f65b3d0d
Revert "Revert "Add docker exec run a command in privileged mode""
...
This reverts commit 40b71adee3 .
Original commit (for which this is effectively a rebased version) is
72a500e9e5 and was provided by Lei Jitang
<leijitang@huawei.com >.
Signed-off-by: Tim Dettrick <t.dettrick@uq.edu.au >
2015-08-13 16:36:44 +10:00
David Calavera
d50881e446
Merge pull request #15449 from albers/completion-help
...
Remove -h flag from completion and daemon reference
2015-08-12 17:09:51 -07:00
Harald Albers
e4d8a8e1ca
Add storage options to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-08-12 06:13:24 -07:00
Harald Albers
5c1ad6f90c
Add options for the json-file logging driver to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-08-12 04:39:29 -07:00
Harald Albers
644c158837
Update bash completion for docker run
...
Also fixed sort order of options using `sort -d`
Signed-off-by: Harald Albers <github@albersweb.de >
2015-08-12 04:38:55 -07:00
Harald Albers
ceb11d9660
Remove -h flag from completion and daemon reference
...
All docker subcommands support `-h` as an alias for `--help`
unless they have `-h` aliased to something else like `docker run`,
which uses `-h` for `--hostname`.
`-h` is not included in the help messages of the commands, though.
It ist visible in
* reference: only in `docker daemon` reference,
see output of `grep -Rse --help=false docs`
* man pages: only in `docker` man page
see output of `grep -RF '**-h**' man`
For consistency reasons, this commit removes `-h` as an alias for
`--help` from the reference page, man page and the bash completion.
Signed-off-by: Harald Albers <github@albersweb.de >
2015-08-11 07:30:58 -07:00
Harald Albers
5cee7e8116
Add missing storage drivers to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-08-10 08:49:40 -07:00
Harald Albers
c465ba7bde
Add docker ps --format to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
2015-08-10 06:51:14 -07:00
Harald Albers
b898111d3a
Add --config to bash completion
...
The custom configuration will also be used in docker invocations made
by the completion script itself, just like `-H`.
Signed-off-by: Harald Albers <github@albersweb.de >
2015-08-03 19:03:43 +02:00