You have installed Docker, you know how to run containers, you have written Dockerfiles to build container images for your applications (or parts of your applications), and perhaps you’re even using Compose to describe your application stack as an assemblage of multiple containers.
But how do you go to production? What modifications are necessary in your code to allow it to run on a cluster? (Spoiler alert: very few, if any.) How does one set up such a cluster anyway? And how do we use it to deploy and scale applications with high-availability requirements? What about logging, metrics, and other production-related requirements?
Jérôme Petazzoni and AJ Bowen answer those questions using tools from the Docker ecosystem, with a strong focus on the native orchestration capabilities available since Docker Engine 1.12, aka “Swarm Mode.”
A similar tutorial was presented at OSCON 2016. This tutorial is a vastly updated version taking into account the new, native orchestration features of Docker 1.12 (released shortly after OSCON 2016) and diving deeper into the operational aspects of Docker in production.
Jérôme Petazzoni is a DevOps advocate and international speaker. He was born and raised in France, where he worked on geographic information systems, voice-over-IP, video streaming and encoding, and started a cloud hosting company back when EC2 wasn’t an Amazon product yet. He moved to California to build and scale the dotCloud PAAS, which eventually gave birth to Docker. He worked at Docker for seven years, during which he represented the famous container company at hundreds of conferences and events and trained thousands of engineers to use Docker, Swarm, and Kubernetes. He’s fluent in many languages (mostly programming ones), owns a dozen of musical instruments, and can play the theme of Zelda on most of them.
AJ Bowen is on a mission to containerize all the things and help others to do the same. In the past, AJ has done technical support, evangelism, and customer and developer advocacy at Gandi. Her other experience includes heavy involvement in the Occupy movement in Kansas City, where she discovered the delightful and complicated world of horizontal organization in groups of passionate people with wildly diverse political perspectives, and humanitarian work in Haiti. AJ doesn’t like being told what to do—or telling others what to do—and is on a constant mission to eliminate unnecessary hierarchy.
Comments on this page are now closed.
©2017, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com