Bootstrap FreeKB - Docker - List stacks using the docker stack ls command
Docker - List stacks using the docker stack ls command

Updated:   |  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 Buy Me A Coffee



Comments


Add a Comment


Please enter 2da0bb in the box below so that we can be sure you are a human.