Textbook in PDF format
In Learn Docker in a Month of Lunches, Docker expert Elton Stoneman guides through everything you need to know about Docker in 22 short lessons you can complete on your lunch break. This freshly-revised bestseller has been updated for modern tools and the latest versions of Linux, Windows, or Mac, with new coverage of multi-platform builds, cloud container services, replatforming legacy Windows apps, and Kubernetes.
In Learn Docker in a Month of Lunches, Second Edition you’ll learn how to:
Run applications in Docker containers on Linux and Windows.
Package applications as Docker images and share them on registries.
Model and run distributed applications with Docker Compose and Kubernetes.
Add instrumentation to containerized applications.
Build and deploy apps with Docker in a CI/CD process.
Docker revolutionized the way engineers build software. By bundling an application together with all its dependencies in a portable “container” that can be deployed almost anywhere, Docker makes it possible to manage applications without creating custom infrastructures. Free, open-source, and battle-tested, Docker has quickly become must-know technology for developers and administrators.
About the Technology
Docker is a set of powerful tools to bundle software components in safe, portable “containers” you can drop wherever they’re needed. Whether you’re deploying a pre-built application, creating a secure test environment, or packaging microservices, you’re probably going to use Docker. This book gets you up to speed with the Docker skills you need — without the history, theory, and other “blah blah” you don’t.
About the Book
Learn Docker in a Month of Lunches, Second Edition teaches you the most important Docker techniques in just 22 short hands-on lessons. Each chapter guides you through an essential concept, complete with a self-contained lab to practice your new skill. You’ll explore building Docker apps, adding observability, running databases in containers, safely migrating legacy systems, and more. There’s even a primer on using Kubernetes to manage your containers!
What’s Inside
22 short lessons and labs you can complete in an hour or less.
Cloud migration, microservices, and handling legacy systems.
All examples work on Linux, Windows, and macOS.
About the Readers
Developers, administrators, and DevOps all welcome!
About the Author
Elton Stoneman is a Docker Captain, a multiyear Microsoft MVP, and author of dozens of online training courses with Pluralsight and Udemy.
Table of Contents
Part1
Before you begin.
Understanding Docker and running Hello World.
Building your Docker images.
Packaging applications from source code into Docker images.
Sharing images with Docker Hub and other registries.
Using Docker volumes for persistent storage.
Part 2
Running multi-container apps with Docker Compose.
Supporting reliability with health checks and dependency checks.
Adding observability with containerized monitoring.
Running multiple environments with Docker Compose.
Building and testing applications with Docker and Docker Compose.
Part 3
Running containers on different platforms.
Replatforming the legacy: Packaging and running Windows apps in Docker.
Containers in the cloud with Microsoft Azure and Google Cloud.
Kubernetes: A primer.
CI/CD in the cloud with Docker and GitHub Actions.
Part 4
Optimizing your Docker images for size, speed, and security.
Application configuration management in containers.
Writing and managing application logs with Docker.
Controlling HTTP traffic to containers with a reverse proxy.
Asynchronous communication with a message queue.
Never the end