Skip to content
Fresh

docker stack

Back

Reference

docker stack

Copy as Markdown

Open MarkdownAsk Docs AIClaudeOpen in Claude

| Description | Manage Swarm stacks | | Usage | docker stack [OPTIONS] |

Swarm This command works with the Swarm orchestrator.

Description

Manage stacks.

Subcommands

CommandDescription
docker stack configOutputs the final config file, after doing merges and interpolations
docker stack deployDeploy a new stack or update an existing stack
docker stack lsList stacks
docker stack psList the tasks in the stack
docker stack rmRemove one or more stacks
docker stack servicesList the services in the stack