Commit Graph

425 Commits

Author SHA1 Message Date
79b127dadd Update bash completion for docker service logs
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 145bb0218d
Component: cli
2017-06-02 00:10:57 +00:00
8be15cc17b Add bash completion for topology-aware scheduling
- bash completion for `docker service create --placement-pref`
- bash completion for `docker service update --placement-pref-{add,rm}`

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f50f5f8944
Component: cli
2017-06-02 00:10:57 +00:00
4a4c095ddf Fix bash completion for service constraints
- Remove bash completion for `service update --constraint`
- Add bash completion for `service update --constraint-{add,rm}`

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 380be7f725
Component: cli
2017-06-02 00:10:57 +00:00
f439e07413 Improve bash completion for create|run --stop-signal
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: fa5297b853
Component: cli
2017-06-02 00:10:57 +00:00
326047d6b9 Add bash completion for service create|update --stop-signal
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f6f45c14ec
Component: cli
2017-06-02 00:10:57 +00:00
d740c90562 Add support for command aliases to bash completion of docker volume
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 77cdc06233
Component: cli
2017-06-02 00:10:57 +00:00
eeef5fa0fb Improve bash completion for service create|update --update-failure-action
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0f47a7b1ef
Component: cli
2017-06-02 00:10:57 +00:00
09b39a76f1 Add bash completion for service create|update --rollback-*
Also remove wrong completion for `docker service create --rollback`

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0ada299b10
Component: cli
2017-06-02 00:10:56 +00:00
e63c8ee73b Improve POSIX compatibility of bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9f967c7050
Component: cli
2017-06-02 00:10:56 +00:00
a39ef73c0d Bash completion for docker service ps completes only one service
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 85db624317
Component: cli
2017-06-02 00:10:56 +00:00
bad34967bc Hide aliases in bash completion of docker node|service
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9f2d9da271
Component: cli
2017-06-02 00:10:56 +00:00
6d2c16f8fd Add bash completion for docker build --add-host
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a584bd3b1a
Component: cli
2017-06-02 00:10:56 +00:00
ff678e443c Fix bash completion for docker service ps --filter node
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 09b2383b91
Component: cli
2017-06-02 00:10:56 +00:00
6ad7098f18 Add completion for --filter desired-state=shutdown
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0ec2d368a8
Component: cli
2017-06-02 00:10:56 +00:00
e0bd29f9ac Add bash completion for missing filters of docker node ls
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 170fa8ca4c
Component: cli
2017-06-02 00:10:55 +00:00
0e004eba24 Activate bash completion for Windows executable
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: bf0f159175
Component: cli
2017-06-02 00:10:55 +00:00
e990a45379 Fix bash completion for start --checkpoint
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f004bb9cf9
Component: cli
2017-06-02 00:10:55 +00:00
b62be1dbab Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"
This is especially important for distributions like NixOS where `/bin/bash` doesn't exist, or for MacOS users who've installed a newer version of Bash than the one that comes with their OS.

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Upstream-commit: e6a4e7507c
Component: cli
2017-06-02 00:10:54 +00:00
f742188241 Add bash completion for docker plugin upgrade
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f2aab00321
Component: cli
2017-06-02 00:10:54 +00:00
2d75a5d4da Fix bash completion for --log-opt mode
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: af095f572e
Component: cli
2017-06-02 00:10:54 +00:00
f0550de5d1 Improve bash completion for docker plugin enable|disable
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 221d15877d
Component: cli
2017-06-02 00:10:53 +00:00
2a1922b8e3 Add bash completion for docker ps --filter expose|publish
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f1cef9c7ab
Component: cli
2017-06-02 00:10:53 +00:00
1284543723 Add bash completion for docker plugin ls --filter
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f26c735282
Component: cli
2017-06-02 00:10:53 +00:00
35aa1f008a Add bash completion for {stack services,service ls} --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f7e0aa39fa
Component: cli
2017-06-02 00:10:52 +00:00
8a781f7442 Add bash completion for dockerd --default-shm-size
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 1d032d8b1e
Component: cli
2017-06-02 00:10:52 +00:00
5a9900c580 Refactor use of shared completion functions
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5288b7e7fd
Component: cli
2017-06-02 00:10:52 +00:00
3f713f4c69 Add bash completion for {dockerd,docker run} --log-opt max-buffer-size|mode
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e49d13fc02
Component: cli
2017-06-02 00:10:52 +00:00
69fb91c724 Add bash completion for docker checkpoint
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a4ce26ba47
Component: cli
2017-06-02 00:10:52 +00:00
daeec5c32c Allow adding rules to cgroup devices.allow on container create/run
This introduce a new `--device-cgroup-rule` flag that allow a user to
add one or more entry to the container cgroup device `devices.allow`

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Upstream-commit: e9ad0f345f
Component: cli
2017-06-02 00:10:51 +00:00
207d59a349 Update bash and zsh completion for service create/update --read-only
This commit updates bash and zsh completion for flag `--read-only`
in `service create/update`.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 2fade897b9
Component: cli
2017-06-02 00:10:51 +00:00
bc0808e976 Add bash completion for docker service logs
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: bdf88a6e67
Component: cli
2017-06-02 00:10:51 +00:00
f164989143 Update bash and zsh completion for aws-create-group
This commit updates bash and zsh completion for aws-create-group.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: a4acd7887f
Component: cli
2017-06-02 00:10:51 +00:00
cf17bf7d66 Use native call for listing plugins in bash completion
`docker plugin ls` now has `--format`, so there is no more need for
postprocessing raw `docker plugin ls` output with `awk` any more.
This will make generation of plugin lists robust against changes
in `docker plugin ls` output.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f38bb95619
Component: cli
2017-06-02 00:10:51 +00:00
7951ee4996 Rename helper function in bash completion for consistency
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a88fb3678d
Component: cli
2017-06-02 00:10:50 +00:00
c3c790c8f5 Hide bash completion for docker run|create|build --isolation on non-windows
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3494343b71
Component: cli
2017-06-02 00:10:50 +00:00
2368812ef3 Add windows specific bash completion for docker run|create
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: d9dbe8b6f6
Component: cli
2017-06-02 00:10:50 +00:00
6c66c6e604 Fix bash completion for completing nodes
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5f791f6b6a
Component: cli
2017-06-02 00:10:50 +00:00
06c63bc763 Add bash completion for run|create --init-path
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 128549e354
Component: cli
2017-06-02 00:10:50 +00:00
cbeff7a5e3 Add bash completion for docker swarm unlock|unlock-key
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 24bf7b830a
Component: cli
2017-06-02 00:10:50 +00:00
531d371078 Add missing options to bash completion for docker swarm init|update
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a91e0c5b33
Component: cli
2017-06-02 00:10:50 +00:00
602e1bb569 Fix bash completion for docker service update
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 1a5f49057c
Component: cli
2017-06-02 00:10:50 +00:00
c1334d9a27 Improve bash completion for docker run --cap-{add,drop}
Docker has several capabilities enabled by default and some not.
It seems natural to follow this distinction in --cap-add and
--cap-drop.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 75d90a8a18
Component: cli
2017-06-02 00:10:50 +00:00
94ff9946b0 Fix bash completion for docker plugin ls
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 4489f4ab10
Component: cli
2017-06-02 00:10:50 +00:00
56fed66072 Add bash completion for docker service ps --filter node
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 046aa9aa23
Component: cli
2017-06-02 00:10:50 +00:00
8569ad5ae6 Add bash completion for newly added options to "docker plugin ls"
Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
Upstream-commit: e41d3a22ce
Component: cli
2017-06-02 00:10:49 +00:00
c7b3f20a8e Add bash completion for dockerd --init and docker run|create --init
Fixes #30263

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0e8ea8a2b6
Component: cli
2017-06-02 00:10:49 +00:00
e1562c94a9 Add bash completion for build --squash
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f58ef83a2c
Component: cli
2017-06-02 00:10:49 +00:00
ac6e5621fd Add bash completion for container|image|network prune --filter until
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 347c066e0d
Component: cli
2017-06-02 00:10:49 +00:00
91d650a72a Fix treatment of DOCKER_HIDE_LEGACY_COMMANDS in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: cce9425a74
Component: cli
2017-06-02 00:10:49 +00:00
b777b51905 Add bash completion for plugin install --disable-content-trust
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ad4e1a9c61
Component: cli
2017-06-02 00:10:49 +00:00