docker stack deploy <STACK>

Deploy a new stack or update an existing stack

Arguments

NameDescription
STACK

Options

NameDescription
-c, --compose-file <strings>Path to a Compose file, or "-" to read from stdin
--orchestrator <string>Orchestrator to use (swarm|kubernetes|all)
--prunePrune services that are no longer referenced
--resolve-image <string>Query the registry to resolve image digest and supported platforms ("always"|"changed"|"never") (default "always")
--with-registry-authSend registry authentication details to Swarm agents