cf1baa9f3c
Add bash completion for secret|config create --template-driver
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 43024e2d57
Component: cli
2018-04-14 14:46:19 +02:00
065614040d
Bash: update trust completions
...
The `docker trust` commands were moved out of experimental,
and the `docker trust view` command was changed to
`docker trust inspect --pretty`.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 2a6808db87
Component: cli
2018-03-14 01:21:33 +01:00
5539b125fe
Add swarm types to bash completion event type filter
...
Signed-off-by: Trapier Marshall <trapier.marshall@docker.com >
Upstream-commit: fb80101ca7
Component: cli
2018-02-19 13:46:23 -05:00
c38d4936f4
Merge pull request #682 from albers/completion-service-options
...
Fix and simplify bash completion for service env, mounts and labels
Upstream-commit: 26a2a45967
Component: cli
2018-02-01 14:02:51 -08:00
8f3ae07b6b
Merge pull request #717 from albers/completion-images-2
...
Improve and fix bash completion for images
Upstream-commit: 4586609f71
Component: cli
2018-01-27 17:48:49 -08:00
ae19592ca8
Fix bash completion for "docker swarm"
...
Signed-off-by: muicoder <muicoder@gmail.com >
Upstream-commit: e2f73bb4b7
Component: cli
2018-01-01 12:58:16 +08:00
a67c7bc0ee
Merge pull request #713 from albers/completion-512
...
Fix #512 Bash autocompletion works incorrect with inspect
Upstream-commit: 718a245b6e
Component: cli
2017-12-15 16:33:41 -05:00
53eeb39422
Simplify bash completion for service options
...
Previously, the completions for `--xxx` and the corresponding
`-xxx-add` and `-xxx-rm` options were defined in separate blocks.
This caused a lot of duplicated code.
This PR removes duplication for xxx=config|group|host|placement-pref|secret.
Now the blocks for `create` and `update` only contain completions for
options that either only exist for the particular command or are specific
to it (completions for `--env-rm` and `--env|env-add` differ).
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: f2b42bb6a8
Component: cli
2017-12-15 13:49:42 +01:00
a7c2ea2fc4
Fix bash completion for service env, mounts and labels
...
`service create` and `service update` both used to have `--env`, `--label`
and `--mount` options.
These options now are only valid for `service create`.
`service update` got corresponding `--xxx-add|rm` options instead.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: d149c93c0c
Component: cli
2017-12-15 13:49:42 +01:00
ba6f88e84d
Merge pull request #749 from albers/completion--generic-resource
...
Add support for generic resources to bash completion
Upstream-commit: 8684b99923
Component: cli
2017-12-15 01:08:42 -08:00
edf70bdb82
Add support for generic resources to bash completion
...
Adds bash completion for
- `service create --generic-resource`
- `service update --generic-resource-(add|rm)`
- `dockerd --node-generic-resource`
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 8ec80eec67
Component: cli
2017-12-15 08:56:14 +01:00
ee5a10619c
Update docs and completion-scripts for deprecated features
...
- the `--disable-legacy-registry` daemon flag was removed
- duplicate keys with conflicting values for engine labels
now produce an error instead of a warning.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: a119e39f0c
Component: cli
2017-12-12 17:09:38 -08:00
c3ea8d4b44
Merge pull request #726 from albers/completion-log-opt-line-only
...
Add bash completion for `--log-opt line-only`
Upstream-commit: 8053cf67e0
Component: cli
2017-12-06 16:04:26 -08:00
0aafcdcf36
Merge pull request #732 from ndeloof/8917
...
closes #8917 introduce `—workdir` option for docker exec
Upstream-commit: 86653f4d57
Component: cli
2017-12-06 10:51:33 -08:00
d02e9392a1
Because the option takes an argument, a special treatment is required in the preceding case
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
Upstream-commit: da6b8cb5de
Component: cli
2017-12-06 17:24:01 +01:00
5deca4bbe1
introduce —workdir option for docker exec
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
Upstream-commit: 591a1273fd
Component: cli
2017-12-06 17:24:01 +01:00
a369ceccde
Merge pull request #724 from dungeonmaster18/723-auto-complete-command
...
Added auto complete command for fluentd-sub-second-precision.
Upstream-commit: ea854237aa
Component: cli
2017-12-05 10:29:39 -08:00
8d18b0cfab
Merge pull request #704 from albers/completion--platform
...
Add bash completion for `--platform`
Upstream-commit: 83cdc0f1bd
Component: cli
2017-12-04 13:19:37 -08:00
14e1e40a4e
Add bash completion for --log-opt line-only
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 0798d71f38
Component: cli
2017-12-04 10:05:37 +01:00
c05aa2cc73
Minor bash completion improvements/fixes
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 53376b60c6
Component: cli
2017-12-04 09:33:14 +01:00
8583ba4a32
Improve bash completion for images
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 5ee3b9b461
Component: cli
2017-12-04 09:33:14 +01:00
f62beecbb7
Added auto complete command for fluentd-sub-second-precision
...
Signed-off-by: dungeonmaster18 <umesh4257@gmail.com >
Upstream-commit: d5271568a2
Component: cli
2017-12-01 18:39:41 +05:30
25c006f1cc
Fix #512 Bash autocompletion works incorrect with inspect
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: a2d0b6e122
Component: cli
2017-11-30 17:28:33 +01:00
617fb8ceb7
Merge pull request #702 from albers/completion-log--until
...
Add bash completion for `logs --until`
Upstream-commit: b45a49c83f
Component: cli
2017-11-30 09:40:08 +01:00
3c7ba9bf1b
Add bash completion for --platform
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 15f78417b9
Component: cli
2017-11-30 09:29:15 +01:00
a79583a886
Merge pull request #677 from albers/completion-log-opts
...
Add new log driver options to bash completion
Upstream-commit: 4f009541cb
Component: cli
2017-11-29 10:01:19 -08:00
fe41a825e2
Merge pull request #678 from albers/completion-build--stream
...
Add bash completion for experimental `build --stream`
Upstream-commit: c428561b63
Component: cli
2017-11-29 10:00:23 -08:00
efb2ed5d5e
Add bash completion for logs --until
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 667dead8b7
Component: cli
2017-11-17 18:45:05 +01:00
afb12468a8
Add bash completion for trust sign --local
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: c29459c284
Component: cli
2017-11-17 18:30:38 +01:00
c5471a4a0e
Add isolation mode on service update/create and compose files
...
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com >
Upstream-commit: 47cf2ea683
Component: cli
2017-11-17 15:31:13 +01:00
1fce7e41ce
Add bash completion for experimental build --stream
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: c852393bff
Component: cli
2017-11-08 14:32:14 +01:00
ce00560e17
Add --log-opt awslogs-credentials-endpoint to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 1390ae6022
Component: cli
2017-11-08 14:07:05 +01:00
49cfe581ba
Add support for GELF tcp connections to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: c231c381fe
Component: cli
2017-11-08 13:54:51 +01:00
379ed62f4b
Merge pull request #609 from albers/completion-trust
...
Add bash completion for `docker trust` commands
Upstream-commit: d0197347ea
Component: cli
2017-10-31 11:24:35 +01:00
107b0ea669
Merge pull request #611 from albers/completion-stack-deploy--resolve-image
...
Add bash completion for `stack deploy --resolve-image`
Upstream-commit: 6ef0ea82ea
Component: cli
2017-10-11 22:28:51 +02:00
0750d56f05
Add bash completion for secret create --driver
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 1d7a31f87e
Component: cli
2017-10-11 18:55:28 +02:00
a808a78d53
Add bash completion for stack deploy --resolve-image
...
Also adds minimal documentation for this flag.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 9559b9b7a8
Component: cli
2017-10-09 13:39:54 +02:00
e42b52cb32
Merge pull request #492 from albers/completion-daemon--network-control-plane-mtu
...
Add bash completion for `dockerd --network-control-plane-mtu`
Upstream-commit: fb7a817583
Component: cli
2017-10-08 17:49:58 +02:00
80eb2d603b
Update bash completion for synchronous docker service commands
...
The default value for
`docker service create|update|scale|rollback --detach|-d` changed from
`true` to `false`.
This updates bash completion to complete just `--detach|-d`.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 60bfaba6fb
Component: cli
2017-10-07 13:57:26 +02:00
e06cccc917
Add bash completion for docker trust commands
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: bb28364824
Component: cli
2017-10-07 13:29:10 +02:00
a34160d786
Remove unused variable from bash completion
...
Removes a copy & paste leftover.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 891c3a9d96
Component: cli
2017-10-07 13:29:10 +02:00
b4a6a3d358
Add --no-trunc option to docker container stats
...
This patch adds a `--no-trunc` option to `docker container stats`;
With this patch applied, the default output is:
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
b95a83497c91 awesome_brattain 0.28% 5.629MiB / 1.952GiB 0.28% 916B / 0B 147kB / 0B 9
67b2525d8ad1 foobar 0.00% 1.727MiB / 1.952GiB 0.09% 2.48kB / 0B 4.11MB / 0B 2
e5c383697914 test-1951.1.kay7x1lh1twk9c0oig50sd5tr 0.00% 196KiB / 1.952GiB 0.01% 71.2kB / 0B 770kB / 0B 1
4bda148efbc0 random.1.vnc8on831idyr42slu578u3cr 0.00% 1.672MiB / 1.952GiB 0.08% 110kB / 0B 578kB / 0B 2
84e3deaa45b2 registry 0.01% 3.402MiB / 1.952GiB 0.17% 127kB / 378B 233kB / 0B 10
2ed915778ceb foo.1.lsmxrefn5yp9c9ijz1hzgdq4u 0.00% 1.727MiB / 1.952GiB 0.09% 166kB / 7.76kB 614kB / 0B 2
Addin the `--no-trunc` option, changes the output to:
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
b95a83497c9161c9b444e3d70e1a9dfba0c1840d41720e146a95a08ebf938afc awesome_brattain 0.25% 5.75MiB / 1.952GiB 0.29% 648B / 0B 147kB / 0B 10
67b2525d8ad10bb236a49960e93c09993b0baabeef12c2d46cd5f4fbb6f4808c foobar 0.00% 1.727MiB / 1.952GiB 0.09% 2.35kB / 0B 4.11MB / 0B 2
e5c383697914b98b10cbbc9d0bd324b7b927099ac584f031057b8208d2fba9b1 test-1951.1.kay7x1lh1twk9c0oig50sd5tr 0.00% 196KiB / 1.952GiB 0.01% 71.1kB / 0B 770kB / 0B 1
4bda148efbc006b0063373c3678083159af89f8cc83a6a28def14cb0dd171f70 random.1.vnc8on831idyr42slu578u3cr 0.00% 1.672MiB / 1.952GiB 0.08% 110kB / 0B 578kB / 0B 2
84e3deaa45b2fc363e06167df9b90ab59f88d4f101e3f9b8df03a62a8f6783e1 registry 0.00% 3.387MiB / 1.952GiB 0.17% 127kB / 378B 233kB / 0B 10
2ed915778cebddf9ec69263a75cfdcf00962a5198d94d42cda75d5cd45bb82f2 foo.1.lsmxrefn5yp9c9ijz1hzgdq4u 0.00% 1.727MiB / 1.952GiB 0.09% 166kB / 7.76kB 614kB / 0B 2
Which is the same as the default before this patch was applied.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: e63417a9c0
Component: cli
2017-09-27 18:59:25 +02:00
7d19908a7b
Merge pull request #504 from albers/completion-search--format
...
Add bash completion for `search --format`
Upstream-commit: da82dcb1db
Component: cli
2017-09-20 14:41:28 +02:00
c59fc2b89e
Merge pull request #352 from albers/fix-completion--credential-spec
...
Improve bash completion for `--credential-spec`
Upstream-commit: 16804b7313
Component: cli
2017-09-20 11:52:11 +02:00
8570202308
Add bash completion for dockerd --network-control-plane-mtu
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 36068e8763
Component: cli
2017-09-05 21:29:44 +02:00
2f974e7293
Add bash completion for search --format
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: f6219ac3c6
Component: cli
2017-09-04 18:21:47 +02:00
b812e1036b
Use native formatting in bash completion of nodes
...
Completion of nodes now uses native Docker commands that were not available
when this function was created.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: e391e34801
Component: cli
2017-08-28 09:59:19 +02:00
b132c15093
Improve bash completion for --credential-spec
...
This option is Windows specific and should be only available if the
daemon runs on Windows.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 056ccf88be
Component: cli
2017-08-28 09:53:58 +02:00
3b7e9c65c0
Merge pull request #367 from kolyshkin/ipcmode
...
Introduce/document new IPC modes
Upstream-commit: 8ebc03a71f
Component: cli
2017-08-25 09:48:00 +02:00
881ab6b17f
Remove bash completion for stack ps --all|-a
...
This option was removed in https://github.com/moby/moby/pull/28885 .
Bash completion was only updated for `service ps`, though.
See https://github.com/moby/moby/pull/29716 for the corresponding docs
change.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 328f4fbf06
Component: cli
2017-08-23 13:34:23 +02:00