In this chapter I covered Docker Compose, the tool used to organize distributed Docker solutions. With Compose, you explicitly define all the components of your solution, the configuration of the components, and the relationship between them in a simple, clean format.
The Compose file lets you manage all the application containers as a single unit. You learned in this chapter how you can use the docker-compose command line to spin up and tear down the application, creating all the resources and starting or stopping containers. You also learned that you can use Docker Compose to scale components up or down and to release upgrades to your solution.
Docker Compose is a powerful tool for defining complex solutions. The Compose file effectively replaces lengthy deployment documents and fully describes every part of the application. With external resources and Compose overrides...