DOCKER(1) | Docker User Manuals | DOCKER(1) |
docker-stack-deploy - Deploy a new stack or update an existing stack
docker stack deploy [OPTIONS] STACK
Deploy a new stack or update an existing stack
-c, --compose-file=[] Path to a Compose file, or "-" to read from stdin
-h, --help[=false] help for deploy
--namespace="" Kubernetes namespace to use
--prune[=false] Prune services that are no longer referenced
--resolve-image="always" Query the registry to resolve image digest and supported platforms ("always"|"changed"|"never")
--with-registry-auth[=false] Send registry authentication details to Swarm agents
--kubeconfig="" Kubernetes config file
--orchestrator="" Orchestrator to use (swarm|kubernetes|all)
May 2022 | Docker Community |