Docker - List stacks using the docker stack ls command

by
Jeremy Canfield |
Updated: February 12 2022
| Docker articles
A stack is a collection of services. For example, the "foo" stack could contain a few services.
The docker stack ls command can be used to display the stacks. This command must be run from the swarm manager.
docker stack ls
Something like this should be returned.
NAME SERVICES ORCHESTRATOR
foo 3 Swarm
bar 1 Swarm
Did you find this article helpful?
If so, consider buying me a coffee over at