Preparing Docker Apps for Production
It's easy to run your apps in containers, but "docker run" isn't going to get you very far in production. This course will teach you all the best practices for packaging and running your apps with Docker, Docker Compose and Kubernetes.
What you'll learn
Containers need to work with the features of the platform they're using if you're going to get the most out of them. In this course, Preparing Docker Apps for Production, you’ll learn all the best practices for setting up and running containerized applications.
First, you’ll see how to separate app configuration from the container image, so you can configure apps independently. Next, you’ll see how to push application logs out from containers and collect them in a centralized store. Then you'll take advantage of self-healing features by adding health checks and dependency checks to your containers. Finally, you’ll learn how to manage network traffic so you can route incoming requests to the right containers.
When you’re finished with this course, you’ll have understanding of how containers work in production, so you can plan your path to go live with Docker.
Table of contents
- Understanding the Configuration Model 5m
- Configuration in the Container Environment 3m
- Demo: Reading Config from the Environment in Go 7m
- Demo: Reading Config from the Environment in Node.js 6m
- Initializing Configuration with a Loader Utility 3m
- Demo: Merging Config During Initialization 10m
- Managing Configuration Settings with Kubernetes 4m
- Demo: Storing Configuration in the Platform 7m
- Module Summary 4m
- Understanding the Logging Model 3m
- Demo: Surfacing Logs from Standard Output Streams 7m
- Dealing with Logs in Hidden Sinks 3m
- Demo: Relaying Logs from Log Files 6m
- Centralizing Log Collection in the Platform 5m
- Demo: Collecting and Centralizing Logs with the EFK Stack 9m
- Demo: Using EFK to Collect Application Logs 5m
- Module Summary 4m
- Understanding Self-healing Applications 4m
- Demo: Container Healthchecks with Curl 7m
- Building Custom Health and Readiness Checks 4m
- Demo: Health and Dependency Checks with Custom Utilities 9m
- Modelling Self-healing applications with Health and Readiness Checks 3m
- Demo: Self-healing Applications in Kubernetes 8m
- Module Summary 5m
- Understanding Traffic Management with Reverse Proxies 4m
- Demo: Using Nginx as a Container Proxy 11m
- Comparing Reverse Proxies 3m
- Demo: Using Traefik as a Container Proxy 10m
- Routing with Ingress in the Container Platform 4m
- Demo: Nginx as a Kubernetes Ingress Controller 7m
- Module and Course Summary 5m