mirror of https://github.com/docker/cli.git
Synchronous service create and service update
Change "service create" and "service update" to wait until the creation or update finishes, when --detach=false is specified. Show progress bars for the overall operation and for each individual task (when there are a small enough number of tasks), unless "-q" / "--quiet" is specified. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
parent
1a9663696d
commit
c8e607205f
|
@ -23,6 +23,8 @@ Create a new service
|
|||
Options:
|
||||
--constraint list Placement constraints (default [])
|
||||
--container-label list Container labels (default [])
|
||||
-d, --detach Exit immediately instead of waiting for the service to converge
|
||||
(default true)
|
||||
--dns list Set custom DNS servers (default [])
|
||||
--dns-option list Set DNS options (default [])
|
||||
--dns-search list Set custom DNS search domains (default [])
|
||||
|
|
|
@ -26,6 +26,8 @@ Options:
|
|||
--constraint-rm list Remove a constraint (default [])
|
||||
--container-label-add list Add or update a container label (default [])
|
||||
--container-label-rm list Remove a container label by its key (default [])
|
||||
-d, --detach Exit immediately instead of waiting for the service to converge
|
||||
(default true)
|
||||
--dns-add list Add or update a custom DNS server (default [])
|
||||
--dns-option-add list Add or update a DNS option (default [])
|
||||
--dns-option-rm list Remove a DNS option (default [])
|
||||
|
|
Loading…
Reference in New Issue