Section: Swarm Services

List stacks

bash
bash
docker stack ls
Explanation

Useful for multi-application swarm clusters.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Swarm Services
Deploy a stack
Deploy or update a swarm stack from a Compose file.
OpenIn sheetbashsame section
List services in stack
List services belonging to a stack.
OpenIn sheetbashsame section
List stack tasks
List tasks for services in a stack.
OpenIn sheetbashsame section
Remove a stack
Remove a deployed stack.
OpenIn sheetbashsame section
Create a service
Create a replicated or global service in the swarm.
OpenIn sheetbashsame section
List services
List swarm services.
OpenIn sheetbashsame section