Skip to Main Content
Learn Docker in a Month of Lunches
book

Learn Docker in a Month of Lunches

by Elton Stoneman
July 2020
Beginner content levelBeginner
464 pages
12h 39m
English
Manning Publications
Content preview from Learn Docker in a Month of Lunches

10 Running multiple environments with Docker Compose

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Kubernetes in a Month of Lunches

Learn Kubernetes in a Month of Lunches

Elton Stoneman
Docker Deep Dive

Docker Deep Dive

Nigel Poulton
Docker: Up & Running, 2nd Edition

Docker: Up & Running, 2nd Edition

Sean P. Kane, Karl Matthias
Docker in Action, Second Edition

Docker in Action, Second Edition

Stephen Kuenzli, Jeffrey Nickoloff

Publisher Resources

ISBN: 9781617297052Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link