docker-stack-deploy - Man Page

Deploy a new stack or update an existing stack

Synopsis

docker stack deploy [Options] STACK

Description

Deploy a new stack or update an existing stack

Options

--bundle-file=""

Path to a Distributed Application Bundle file

-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

Options Inherited from Parent Commands

--kubeconfig=""

Kubernetes config file

--orchestrator=""

Orchestrator to use (swarm|kubernetes|all)

See Also

docker-stack(1)

Referenced By

docker-stack(1).

May 2020 Docker Community