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
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
Kenfe-Mickaël Laventure
64486d7820
Merge pull request #255 from albers/system-prune-volume-warning
...
system prune: only warn for volumes if --volumes is given
2017-06-29 08:50:16 -07:00
Harald Albers
fa4dc8820a
Fix bash completion for `swarm init|join --data-path-addr`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-29 16:45:18 +02:00
Harald Albers
5bd00a563e
Add bash completion for `swarm ca`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-29 16:28:50 +02:00
Harald Albers
849b0e96a0
system prune: only warn about volumes if --volumes is given
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-29 15:07:21 +02:00
Vincent Demeester
4c88a1cb53
Merge pull request #262 from cdrage/on-failure-error
...
on_failure -> on-failure in compose code
2017-06-29 09:04:15 +02:00
Vincent Demeester
e4e08baeba
Merge pull request #258 from adshmh/fix-daemon-unit-tests-output-leak
...
fixed output leak from daemon unit tests
2017-06-29 09:03:51 +02:00
Aaron Lehmann
dd3eae84e1
progress: Add unit tests
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-06-28 17:53:56 -07:00
Sebastiaan van Stijn
0ec3e8a8d5
Merge pull request #215 from imkin/default-max-size-param-doc
...
Adding docs for "overlay2.size" storage-opt
2017-06-28 14:23:34 -07:00
Charlie Drage
d3f9a6c610
on_failure -> on-failure in compose code
...
on_failure should be on-failure
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2017-06-28 11:10:02 -04:00
Vincent Demeester
92a2a1d539
Merge pull request #260 from aaronlehmann/verify-message
...
progress: Show success message when finished counting down
2017-06-28 09:30:49 +02:00
Dhawal Yogesh Bhanushali
ff2552f7a1
Adding docs for "overlay2.size" storage-opt
...
Signed-off-by: Dhawal Yogesh Bhanushali <dbhanushali@vmware.com>
2017-06-27 23:58:57 -07:00
Aaron Lehmann
1ef585f65d
progress: Show task error in place of progress bar
...
If a task encounters an error, the interactive "service create" and
"service update" commands should show that error instead of showing a
stuck progress bar.
To validate:
docker service create --detach=false --name broken --restart-condition=none --replicas 3 busybox asdf
and
docker service create --detach=false --name broken --mode global --restart-condition none busybox asdf
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-06-27 15:12:31 -07:00
Aaron Lehmann
82e069026b
progress: Show success message when finished counting down
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-06-27 15:07:10 -07:00
Arash Deshmeh
69b226a89c
fixed the output leak from daemon unit tests
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2017-06-27 14:22:49 -04:00
Victor Vieux
6c6b1091d9
add --detach to docker scale
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-06-27 09:55:10 -07:00
Harald Albers
fa0f470a5f
Add bash completion for `service create|update --network-(add|rm)`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 17:43:05 +02:00
Harald Albers
71dd0e0b66
Add bash completion for `service create|update (update|rollback)-order`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 17:32:43 +02:00
Harald Albers
36b572dfdf
Add bash completion for `system prune --volumes`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 16:37:41 +02:00
Vincent Demeester
105b21d1ab
Rename NewConfigFile to New in configfile package
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-06-27 16:31:38 +02:00
Harald Albers
f0f7150537
Add bash completion for plugin events
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 15:37:14 +02:00
Daniel Nephin
62dfbef4d8
Add missing unit tests.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-27 13:46:47 +02:00
Daniel Nephin
a3cbc70147
Move credential getting functions to the ConfigFile.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-27 13:46:47 +02:00
Daniel Nephin
33cbb70270
Cleanup config/credentials, remove dependency on config file.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-27 13:45:50 +02:00
Daniel Nephin
a8c70e43a3
Move config file loading to more appropriate packages.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-27 13:45:50 +02:00
Harald Albers
8baef1098e
Add bash completion for `service create --detach`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 12:58:38 +02:00
Harald Albers
12dc9eb11f
Fix bash completion for `network create --internal`
...
`--internal` is a boolean option. It was falsely treated as non-boolean.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 12:39:27 +02:00
Harald Albers
e0462e8472
Add bash completion for `service create|update --entrypoint`
...
Also fixes a wrong option: `--arg` should be `--args`.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 11:54:05 +02:00
Harald Albers
8b99b65ca8
Add bash completion for `label` filter of `prune` commands
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 11:28:52 +02:00