2018-07-31 19:48:27 -04:00
|
|
|
|
2020-10-02 09:41:17 -04:00
|
|
|
Usage: docker stack deploy [OPTIONS] STACK
|
2018-07-31 19:48:27 -04:00
|
|
|
|
|
|
|
Deploy a new stack or update an existing stack
|
|
|
|
|
|
|
|
Aliases:
|
2022-06-28 04:17:50 -04:00
|
|
|
docker stack deploy, docker stack up
|
2018-07-31 19:48:27 -04:00
|
|
|
|
|
|
|
Options:
|
|
|
|
-c, --compose-file strings Path to a Compose file, or "-" to read
|
|
|
|
from stdin
|
2023-05-05 10:00:30 -04:00
|
|
|
-d, --detach Exit immediately instead of waiting for
|
|
|
|
the stack services to converge (default true)
|
2018-07-31 19:48:27 -04:00
|
|
|
--prune Prune services that are no longer referenced
|
2023-05-05 10:00:30 -04:00
|
|
|
-q, --quiet Suppress progress output
|
2018-07-31 19:48:27 -04:00
|
|
|
--resolve-image string Query the registry to resolve image digest
|
2023-01-03 05:12:24 -05:00
|
|
|
and supported platforms ("always",
|
|
|
|
"changed", "never") (default "always")
|
2018-07-31 19:48:27 -04:00
|
|
|
--with-registry-auth Send registry authentication details to
|
|
|
|
Swarm agents
|