d8c70a7d8d
Add HTTP client timeout.
...
Signed-off-by: Anusha Ragunathan <anusha@docker.com >
Upstream-commit: 43e89b5387
Component: cli
2016-11-21 13:11:40 -08:00
d5535f5557
Return warnings from service create and service update when digest pinning fails
...
Modify the service update and create APIs to return optional warning
messages as part of the response. Populate these messages with an
informative reason when digest resolution fails.
This is a small API change, but significantly improves the UX. The user
can now get immediate feedback when they've specified a nonexistent
image or unreachable registry.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com >
Upstream-commit: b58a973b18
Component: cli
2016-11-18 09:31:31 -08:00
a867bf217d
move plugins out of experimental
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 1f6f5bec49
Component: cli
2016-11-10 15:51:32 -08:00
915d9ab391
api: Service Logs support
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com >
Upstream-commit: f88c041647
Component: cli
2016-11-10 13:46:02 -08:00
50e796a0be
Revise swarm init/update flags, add unlocking capability
...
- Neither swarm init or swarm update should take an unlock key
- Add an autolock flag to turn on autolock
- Make the necessary docker api changes
- Add SwarmGetUnlockKey API call and use it when turning on autolock
- Add swarm unlock-key subcommand
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com >
Upstream-commit: a8dc2ff916
Component: cli
2016-11-09 16:09:00 -08:00
798fd349f4
Add support for swarm init lock and swarm unlock
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: dd81022c23
Component: cli
2016-11-09 16:09:00 -08:00
d1a4dc8e90
secrets: secret management for swarm
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
wip: use tmpfs for swarm secrets
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
wip: inject secrets from swarm secret store
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
secrets: use secret names in cli for service create
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
switch to use mounts instead of volumes
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
vendor: use ehazlett swarmkit
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
secrets: finish secret update
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
Upstream-commit: 72ff77999c
Component: cli
2016-11-09 14:27:43 -05:00
10e4d1c58c
always add but hide experimental cmds and flags
...
Signed-off-by: Victor Vieux <vieux@docker.com >
update cobra and use Tags
Signed-off-by: Victor Vieux <vieux@docker.com >
allow client to talk to an older server
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 4f63bfb619
Component: cli
2016-11-08 04:55:27 -08:00
fe94d78afa
Generate ContainerWait response from the swagger spec.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 85a0bd062d
Component: cli
2016-10-31 11:19:53 -04:00
e10d258b88
generate AuthResponse type from swagger spec.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: ca7404a80a
Component: cli
2016-10-31 11:16:03 -04:00
4a62b2cc8e
Generate container update response from swagger spec.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 598e3a4874
Component: cli
2016-10-31 11:16:02 -04:00
bc55ba3a44
Use IDResponse for container create response.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: f8cdc5ae71
Component: cli
2016-10-31 11:16:02 -04:00
71efaf6beb
Add an IDResponse type
...
Generated from a swagger spec and use it for container exec response
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: d4d914bd52
Component: cli
2016-10-31 11:16:02 -04:00
9557c883f5
Generate container create response from swagger spec.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: e0f7f8d0dd
Component: cli
2016-10-31 11:16:02 -04:00
d817915a4e
Use a config to generate swagger api types
...
Moves the resposne types to a package under api/types
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 6dc945ab36
Component: cli
2016-10-31 11:13:41 -04:00
6fb78dfac2
Generate VolumesCreateRequest from the swagger spec.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 0325c474b8
Component: cli
2016-10-31 11:13:41 -04:00
daa7c9a587
Generate VolumeList response from the swagger spec
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 3e13296c4e
Component: cli
2016-10-31 11:13:41 -04:00
2cd2223423
add docker network prune
...
`docker network prune` prunes unused networks, including overlay ones.
`docker system prune` also prunes unused networks.
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
Upstream-commit: 171e533ba2
Component: cli
2016-10-25 06:43:54 +00:00
c2195d43eb
Make experimental a runtime flag
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com >
Upstream-commit: 31f5d9b543
Component: cli
2016-10-24 15:20:01 -07:00
ca3b5155d5
Generate api/types:Image from the swagger spec
...
and rename it to a more appropriate name ImageSummary.
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: a6a247fdf9
Component: cli
2016-10-20 13:24:23 -07:00
a476179204
Add subcommand prune to the container, volume, image and system commands
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com >
Upstream-commit: da8eef56ce
Component: cli
2016-09-29 07:42:53 -07:00
92c2c018ea
Refactor to new events api
...
Signed-off-by: Josh Horwitz <horwitzja@gmail.com >
Upstream-commit: 9acc93282e
Component: cli
2016-09-22 14:42:06 -04:00
f35e1280b5
Windows: stats support
...
Signed-off-by: John Howard <jhoward@microsoft.com >
Upstream-commit: 86c86fc166
Component: cli
2016-09-16 11:56:15 -07:00
f7bdcb1297
Move engine-api client package
...
This moves the engine-api client package to `/docker/docker/client`.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
Upstream-commit: 3fff6acaa1
Component: cli
2016-09-07 11:05:58 -07:00