DOCKER(1)
β¨ NAME β¨
docker-stack-deploy β deploy a brand new stack, or update one that already exists π
(also this whole thing lives in the Docker User Manuals, bestie π«Ά)
πΈ SYNOPSIS πΈ
docker stack deploy [OPTIONS] STACK
π¦ DESCRIPTION π¦
Deploy a new stack, or update an existing stack. That's it, that's the whole vibe β new stack, old stack, doesn't matter, this command handles it. π
π OPTIONS π
-c,--compose-file=[]β the path to a Compose file, okay? or literally just-if you wanna read it from stdin like the main character you are π-d,--detach[=true]β dip out immediately instead of waiting around for the stack services to converge. no waiting, no watching, just leave π--prune[=false]β prune services that are no longer referenced. bye bye, not referenced, not invited π§Ή-q,--quiet[=false]β suppress progress output. silence. peace. no spam in your terminal π€«--resolve-image="always"β query the registry to resolve the image digest and supported platforms. the valid values are"always","changed", and"never"β pick your fighter π--with-registry-auth[=false]β send registry authentication details to the Swarm agents π
π SEE ALSO π
k that's the whole page bestie, go deploy something iconic π
mwah, this was Docker Community β Oct 2026, DOCKER(1), periodt. πβ¨
π¦ where this page comes from
- alpine 3.24: docker-doc 29.9.2-r0 Β· Apache-2.0
- fedora 43: docker-cli 29.8.2-2.fc43
- fedora 43: docker-cli 29.9.2-2.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- fedora 44: docker-cli 29.8.2-2.fc44
- fedora 44: docker-cli 29.9.2-2.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms