July 2020
Beginner
464 pages
12h 39m
English
We looked at Docker Compose in chapter 7, and you gained a good understanding of how to use YAML to describe a multi-container application and manage it with the Compose command line. Since then we’ve enhanced our Docker applications to get them ready for production with health checks and monitoring. Now it’s time to return to Compose, because we don’t need all those production features in every environment. Portability is one of Docker’s major benefits. When you package your application to run in containers, it works the same way wherever you deploy it, and that’s important because it eliminates drift between environments.
Drift is what always happens when manual processes are used to deploy ...