Handling Data and Stateful Applications in Docker
Containers run your apps in lightweight units on any cloud or on-prem, using the same runtime everywhere. But how does data work inside containers? This course teaches you all about storage, including containers, images, volumes, and Docker itself.
What you'll learn
Docker containers run your apps in lightweight units on cloud or on-prem, but how does data work inside containers? In this course, Handling Data and Stateful Applications in Docker, you will gain the understanding of how to manage application data in containers which can run anywhere. First, you will learn how Docker builds the container filesystem and how you can persist data outside of the container lifecycle. Next, you will discover Docker volumes, and the ability to use shared storage with volume plugins. Finally, you will explore how Docker itself uses data, and how you can make the best use of your storage by optimizing Docker images. When you are finished with this course, you will have the skills and knowledge of Docker storage that you need to run stateful applications in containers.
Table of contents
- Course Introduction 2m
- Understanding Image Layers and the Layer Cache 2m
- Demo: Image Layers in Linux Containers 4m
- Demo: Image Layers in Windows Containers 3m
- Persisting Data in the Container Writeable Layer 2m
- Demo: New and Updated Data in the Writeable Layer 3m
- Using External Storage with Docker Volumes 1m
- Demo: Containers with Volume and Bind Mounts 5m
- Module Summary 2m
- Module Introduction: Using Storage in Container Clusters 3m
- Demo: Running Stateful Apps with Local Volumes in Docker Swarm 7m
- Understanding Stateful Application Storage Profiles 2m
- Running Replicated Stateful Apps in Containers 3m
- Demo: Deploying Postgres with High Availability in Docker Swarm 7m
- Pinning Container Workloads with Labels and Constraints 4m
- Demo: Scale and Failover for Replicated Stateful Apps in Docker 7m
- Module Summary 3m
- Module Introduction: Volume Plugins and Shared Storage 2m
- Demo: Sharing a Volume Between Multiple Containers 6m
- Mixing Storage with Shared Volumes and Local Volumes 3m
- Demo: Using Cloud Storage Volumes for Postgres Master Containers 4m
- Comparing Relational Databases with Modern Distributed SQL 2m
- Demo: Running CockroachDB in Docker Swarm with Cloud Storage 6m
- Demo: Swapping out Postgres for CockroachDB in Stateful Apps 9m
- Module Summary 3m
- Module Introduction: Why Docker Fills up Your Disk 2m
- Demo: Managing Docker's Disk Storage 5m
- Understanding the Docker Layer Cache 3m
- Optimizing Docker Images with Multi-stage Builds 3m
- Demo: Optimized Multi-stage Dockerfiles 10m
- Demo: Cleaning up with Docker Prune 3m
- Understanding the Docker Registry Layer Cache 3m
- Demo: Managing Storage in Private Registries 7m
- Course Summary 2m