October 2020
Beginner
250 pages
6h 21m
English
In this chapter, we’ll look at how to deploy multi-container applications using Docker Compose.
Docker Compose and Docker Stacks are very similar. In this chapter we’ll focus on Docker Compose, which deploys and manages multi-container applications on Docker nodes running in single-engine mode. In a later chapter, we’ll focus on Docker Stacks. Stacks deploy and manage multi-container apps on Docker nodes running in swarm mode.
We’ll split this chapter into the usual three parts:
Modern cloud-native apps are made of multiple smaller services that interact to form a useful app. We call this pattern “microservices”. A simple example ...