9: Multi-container apps with Compose
In this chapter, you’ll deploy and manage a multi-container application using Docker Compose. When we talk about Docker Compose, we usually shorten it to Compose and always write it with a capital “C”.
I’ve organized the chapter as follows:
- Docker Compose – The TLDR
- Compose background
- Installing Compose
- The sample app
- Compose files
- Deploying apps with Compose
- Managing apps with Compose
Docker Compose – The TLDR
We create modern cloud-native applications by combining lots of small services that work together to form a useful app. We call them microservices applications, and they bring a lot of benefits, such as self-healing, autoscaling, and rolling updates. However, they can be complex.
For example, you ...
Get Docker Deep Dive - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.