docker-stack-deploy(1)

docker-stack-deploy1

Deploy a new stack or update an existing stack

Usage

docker stack deploy [OPTIONS] STACK

Overview

Deploy a new stack or update an existing stack

Options

-c, --compose-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

--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

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

From docker 1:29.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.