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