November 2018
Beginner
230 pages
6h 4m
English
Now, let's take a quick look at our other stack-related commands through the lens of the swarm where we deployed our voteapp stack. First up, we have the list stacks command: docker stack ls. Giving that a try looks like this:
# List the stacks deployed in a swarmdocker stack ls
Here is what it looks like in the example environment:

This is showing that we have one stack named voteapp currently deployed, and that it is composed of six services and is using swarm mode for its orchestration. Knowing the name of a deploy stack allows us to gather more information about it using the other stack commands. Next up ...
Read now
Unlock full access