Files
docker-cli/e2e/stack/testdata/stack-deploy-help.golden
George Margaritis b086d72769 Add support for --detach flag in stack deploy
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>
2024-03-04 09:36:36 +01:00

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