www.LinuxHowtos.org
DOCKER
Section: Docker User Manuals (1)Updated: Jun 2025
Index Return to Main Contents
NAME
docke-stac-deploy- 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
-c, -compos-file=[] Path to a Compose file, or "-" to read from stdin
-d, -detach[=true]
Exit immediately instead of waiting for the stack services to converge
-prune[=false]
Prune services that are no longer referenced
-q, -quiet[=false]
Suppress progress output
-resolv-image="always"
Query the registry to resolve image digest and supported platforms ("always", "changed", "never")
-wit-registr-auth[=false]
Send registry authentication details to Swarm agents
SEE ALSO
docke-stack(1)