Commit Graph

4409 Commits

Author SHA1 Message Date
Victor Vieux 1f45f1b5f9 Merge pull request #246 from albers/completion-prune--filter-label
Add bash completion for `label` filter of `prune` commands
2017-07-04 16:44:23 +02:00
Victor Vieux 42a31ff8c1 Merge pull request #282 from albers/completion-daemon-updates
Updates to bash completion for `dockerd`
2017-07-04 16:42:10 +02:00
Victor Vieux d47bbb8358 Merge pull request #285 from albers/completion-overlay2.size
Add bash completion for `dockerd --storage-opt overlay2.size`
2017-07-04 16:41:35 +02:00
Victor Vieux 43fb4a4547 Merge pull request #243 from vieux/scale2
add `--detach` to docker scale
2017-07-04 16:36:59 +02:00
Harald Albers 0ea31afd57 Add bash completion for `dockerd --metrics-addr`
`--metrics-addr` does not accept network interface names.
Therefore `__docker_local_interfaces` was refined for this feature to
optionally exclude interface names.

Note that although `--metrics-addr` is experimental, it cannot be
selectively enabled in bash completion because the test for the daemon
running in experimental mode requires a running daemon. As this
completion pertains to starting the daemon, this requirement is not met.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-04 14:40:22 +02:00
Vincent Demeester 357ff50fa9 Merge pull request #289 from mstanleyjones/multiple-env
Provide examples for multiple uses of the same flag
2017-07-04 12:48:20 +02:00
Sebastiaan van Stijn 8df4cd1edc Merge pull request #292 from thaJeztah/clarify-docker-go-package
Clarify docker/go package
2017-07-03 23:44:26 -07:00
Sebastiaan van Stijn 98b7dbe908 Merge pull request #290 from mstanleyjones/d-and-rm-flags
Clarify that you can use -d and --rm together now
2017-07-03 23:43:36 -07:00
Sebastiaan van Stijn 60fe70c900
Clarify docker/go package
This package is used by Notary. Add a comment to
the vendor.conf file to explain what it contains
and what it's used for.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-03 18:00:46 -07:00
Sebastiaan van Stijn 679ae70241
bump golang.org/x/net to 7dcfb8076726a3fdd9353b6b8a1f1b6be6811bd6
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-03 17:40:41 -07:00
Sebastiaan van Stijn 74ec7a5b2c
bump gRPC to v1.3.0, add genproto, update protobuf
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-03 17:40:36 -07:00
Sebastiaan van Stijn 585e099a9a
Bump SwarmKit to 79381d0840be27f8b3f5c667b348a4467d866eeb
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-03 17:40:28 -07:00
Misty Stanley-Jones c63485b47d Clarify that you can use -d and --rm together now
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2017-07-03 16:43:41 -07:00
Misty Stanley-Jones ef61582591 Provide examples for multiple uses of the same flag
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2017-07-03 16:21:28 -07:00
Sebastiaan van Stijn 8a3c89b409
Bump go-winio to 0.4.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-03 14:37:56 -07:00
Sebastiaan van Stijn 42d83d20c9 Use v1.0.0 tag for go-difflib
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-07-03 11:42:28 -07:00
Harald Albers a4b1769bb6 Add bash completion for `dockerd --storage-opt overlay2.size`
This adds bash completion for
- https://github.com/docker/cli/pull/215
- https://github.com/moby/moby/pull/32977

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 18:03:00 +02:00
Harald Albers fc0dafbbd1 Improve bash completion for `service create|update --detach`
bash completion usually completes boolean options that default to `true`
with the `=false` suffix because that is the only syntax that really
changes behavior.
For this option, I implemented completion falsely.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 17:40:23 +02:00
Vincent Demeester 85b41c3e71 Merge pull request #213 from dnephin/improve-swarm-ca-cmd
Refactor and UI changes to `swarm ca` command
2017-07-03 17:02:45 +02:00
Tycho Andersen c269ad26e8 login: print a big warning when using --password
Task command lines are world readable via /proc/pid/cmdline, so this isn't
safe.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2017-07-03 08:47:20 -06:00
Harald Albers 74a5d1af86 Add bash completion for `dockerd --cpu-rt-(period|runtime)`
This adds bash completion for https://github.com/moby/moby/pull/23430.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 13:55:46 +02:00
Harald Albers d610951e85 Add bash completion for `dockerd --default-runtime`
`--default-runtime` was added in https://github.com/moby/moby/pull/22983

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 13:44:23 +02:00
Victor Vieux 58d3fc24b1 scale all services at once
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-07-03 13:40:54 +02:00
Harald Albers 112348d4db Add bash completion for `dockerd --no-new-privileges`
This adds bash completion for https://github.com/moby/moby/pull/32944.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 13:33:01 +02:00
Harald Albers 5296907bef Add bash completion for `dockerd --version`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 13:32:29 +02:00
Harald Albers cf3ffc516b Add bash completion for `dockerd --swarm-default-advertise-addr`
This adds bash completion for https://github.com/moby/moby/pull/24237.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 13:09:43 +02:00
Harald Albers 2caf425f02 Add metric plugins to bash completion for `plugin ls --filter capability`
This adds bash completion for https://github.com/moby/moby/pull/32874.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 11:40:25 +02:00
Harald Albers 1d21a3dd7c Add bash completion for awslogs multiline log driver options
This adds bash completion for https://github.com/moby/moby/pull/30891.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 11:04:44 +02:00
Harald Albers 1f8720717d Add bash completion for `build --iidfile`
This adds bash completion for https://github.com/moby/moby/pull/32406.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 10:41:13 +02:00
Arash Deshmeh b296abd542 add unit tests to cli/command/checkpoint package
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2017-06-30 17:17:47 -04:00
Daniel Nephin 379b762495 Merge pull request #273 from adshmh/add-unit-tests-to-task-package
add unit tests to task package
2017-06-30 11:41:24 -04:00
Vincent Demeester afcc75ddfe Merge pull request #268 from albers/completion-swarm-ca
Add bash completion for `swarm ca`
2017-06-30 11:42:28 +02:00
Harald Albers 22579ba56c Add bash completion for `network create --scope|--config-only|config-from`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-30 11:01:45 +02:00
Vincent Demeester 9689ccab1b Merge pull request #269 from albers/completion-swarm-init--data-path-addr
Fix bash completion for `swarm init|join --data-path-addr`
2017-06-30 10:29:35 +02:00
Sebastiaan van Stijn b306817220 Merge pull request #250 from albers/completion-service-create--detach
Add bash completion for `service create --detach`
2017-06-30 01:16:19 -07:00
Sebastiaan van Stijn c726ccaf6c Merge pull request #256 from albers/completion-service-update-order
Add bash completion for `service create|update (update|rollback)-order`
2017-06-30 01:12:57 -07:00
Sebastiaan van Stijn 321c692868 Merge pull request #257 from albers/completion-service--network-add
Add bash completion for `service create|update --network-(add|rm)`
2017-06-30 01:11:22 -07:00
Sebastiaan van Stijn d1ccfcaf2a Merge pull request #251 from albers/completion-plugin-events
Add bash completion for plugin events
2017-06-30 01:02:53 -07:00
Sebastiaan van Stijn 495ab9b3e9 Merge pull request #254 from albers/completion-system-prune--volumes
Add bash completion for `system prune --volumes`
2017-06-30 01:01:14 -07:00
Sebastiaan van Stijn b45c7d614e Merge pull request #249 from albers/completion-fix-network-create--internal
Fix bash completion for `network create --internal`
2017-06-30 00:11:38 -07:00
Sebastiaan van Stijn 1c4d070cf5 Merge pull request #247 from albers/completion-service--entrypoint
Add bash completion for `service create|update --entrypoint`
2017-06-30 00:09:20 -07:00
Sebastiaan van Stijn 993b78d276 Merge pull request #239 from albers/completion-network-create--ingress
Add bash completion for `docker network create --ingress`
2017-06-30 00:05:44 -07:00
Sebastiaan van Stijn 0b050a599f Merge pull request #233 from dnephin/build-stdin-with-compress
Build stdin with compress
2017-06-29 18:38:55 -07:00
Sebastiaan van Stijn 40a636efc1 Merge pull request #244 from thaJeztah/tiny-builder-docs-improvements
Some builder docs improvements
2017-06-29 18:34:03 -07:00
Arash Deshmeh 244e28f41f add unit tests to task package
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2017-06-29 17:57:31 -04:00
Daniel Nephin 81e9837859 Refactor caCommand
Split out a swarmCAOptions struct for options that are shared between
the ca and update commands.

Change the 'no trust root' message to an error.

Add some unit tests.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-29 17:57:06 -04:00
Sebastiaan van Stijn 29b419eed5
Some builder docs improvements
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-29 14:20:16 -07:00
Daniel Nephin a04aa8fe28 Compress after rewriting the archive.
Write a test showing compress failure.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-29 13:18:10 -04:00
Vincent Demeester 74af31be7f Merge pull request #227 from dnephin/expose-config
expose config credentials without needing the Cli
2017-06-29 19:11:37 +02:00
Vincent Demeester 8de604c857 Merge pull request #238 from vdemeester/update-go-connections
Update go-connections dependency
2017-06-29 18:04:27 +02:00