Added --detach and --quiet/-q flags to stack deploy. Setting --detach=false waits until all of the stack services have converged. Shows progress bars for each individual task, unless --quiet/-q is specified. Co-authored-by: Sebastiaan van Stijn <github@gone.nl> Signed-off-by: George Margaritis <gmargaritis@protonmail.com>
21 lines
869 B
Plaintext
21 lines
869 B
Plaintext
|
|
Usage: docker stack deploy [OPTIONS] STACK
|
|
|
|
Deploy a new stack or update an existing stack
|
|
|
|
Aliases:
|
|
docker stack deploy, docker stack up
|
|
|
|
Options:
|
|
-c, --compose-file strings Path to a Compose file, or "-" to read
|
|
from stdin
|
|
-d, --detach Exit immediately instead of waiting for
|
|
the stack services to converge (default true)
|
|
--prune Prune services that are no longer referenced
|
|
-q, --quiet Suppress progress output
|
|
--resolve-image string Query the registry to resolve image digest
|
|
and supported platforms ("always",
|
|
"changed", "never") (default "always")
|
|
--with-registry-auth Send registry authentication details to
|
|
Swarm agents
|