August 2017
Intermediate to advanced
332 pages
9h 16m
English
Docker Stack is a method to run multiple-linked containers on a Swarm cluster. To understand better how it links Docker Compose with Docker Swarm, let's take a look at the following figure:

Docker Swarm orchestrates which container is run on which physical machine. The containers, however, don't have any dependencies between themselves, so in order for them to communicate, we would need to link them manually. Docker Compose, in contrast, provides linking between the containers. In the example from the preceding figure, one Docker image (deployed in three replicated containers) depends on another Docker image (deployed ...
Read now
Unlock full access