AI Instructor Live Labs Included

Multi-Container Applications with Docker Compose

Orchestrate multi-service apps with Docker Compose — networking, volumes, health checks, and production patterns.

Beginner
10h 45m
12 Lessons
CTR-200
Multi-Container Applications with Docker Compose Badge

View badge details

About This Course

Build real multi-service applications with Docker Compose. Learn compose files, service discovery, volume management, development workflows with hot reload, health checks, and production deployment patterns. The capstone composes a complete e-commerce platform with API, database, cache, and reverse proxy. Course 2 of 6 in the Container Learning Path.

Course Curriculum

12 Lessons
01
AI Lesson
AI Lesson

Compose File Fundamentals

30m

Learn Docker Compose file structure, service definitions, and the core commands for defining and running multi-container applications.

02
Lab Exercise
Lab Exercise

Compose File Fundamentals - Lab Exercises

1h 15m 1 Exercises

compose.yaml structure (services, networks, volumes), service definitions (image, build, ports, environment, depends_on), docker compose up/down/ps/logs/exec, environment variables (.env files, variable substitution)

Understanding Docker Compose Files: Building Your First Multi-Container Application Understanding Docker Compose Files: Building Your First Multi-Container Application ~30 min
03
AI Lesson
AI Lesson

Networking and Service Discovery

35m

Configure Compose networking for multi-service communication. Learn custom networks, DNS-based service discovery, and network isolation patterns.

04
Lab Exercise
Lab Exercise

Networking and Service Discovery - Lab Exercises

1h 15m 1 Exercises

Default Compose network (services reach each other by name), custom networks for isolation (frontend, backend), ports vs expose, external networks for cross-project communication, DNS resolution and aliases

Networking and Service Discovery with Docker Compose Networking and Service Discovery with Docker Compose ~30 min
05
AI Lesson
AI Lesson

Volumes Configs and Secrets

30m

Manage persistent data with Compose volumes, inject configuration files with configs, and protect sensitive data using Docker secrets.

06
Lab Exercise
Lab Exercise

Volumes Configs and Secrets - Lab Exercises

1h 15m 1 Exercises

Named volumes in Compose (database persistence), bind mounts for development (live code reload), Docker configs and secrets, volume lifecycle (docker compose down -v vs without -v)

Managing Application Data with Docker Volumes, Configs, and Secrets Managing Application Data with Docker Volumes, Configs, and Secrets ~30 min
07
AI Lesson
AI Lesson

Development Workflows

35m

Streamline local development with Compose watch, hot-reload, override files, and debugging workflows for faster inner-loop iteration.

08
Lab Exercise
Lab Exercise

Development Workflows - Lab Exercises

1h 15m 1 Exercises

Override files (compose.yaml + compose.override.yaml), hot reload with bind mounts and watchfiles, debugging containers, docker compose watch mode, running tests in containers

Setting Up Development Workflows with Docker Compose Setting Up Development Workflows with Docker Compose ~30 min
09
AI Lesson
AI Lesson

Production Patterns and Health Checks

35m

Prepare Compose applications for production with health checks, restart policies, resource constraints, and deployment best practices.

10
Lab Exercise
Lab Exercise

Production Patterns and Health Checks - Lab Exercises

1h 15m 1 Exercises

Health checks (test commands, intervals, retries, start_period), depends_on with condition service_healthy, resource limits (deploy.resources.limits), restart policies, logging drivers, profiles for optional services

Production Patterns and Health Checks Production Patterns and Health Checks ~30 min
11
AI Lesson
AI Lesson

Capstone Briefing Full E-Commerce Stack

30m

Capstone briefing for building a full e-commerce stack with Compose. Review the multi-service architecture and requirements for the hands-on challenge.

12
Lab Exercise
Lab Exercise

Capstone Full E-Commerce Stack

1h 15m 1 Exercises

Capstone: compose the complete PackShip platform - FastAPI backend (build from Dockerfile), PostgreSQL with named volume and health check, Redis caching, Nginx reverse proxy, Adminer for DB management, override file for development, health checks on all services, .env for config, resource limits

Exercise 1 Exercise 1 ~30 min

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 6 Hands-on Lessons
  • 6 Months Access
  • Completion Badge
  • Certificate of Completion
Multi-Container Applications with Docker Compose Badge

Earn Your Badge

Complete all lessons to unlock the Multi-Container Applications with Docker Compose achievement badge.

Category
Skill Level Beginner
Total Duration 10h 45m
Multi-Container Applications with Docker Compose Badge
Achievement Badge

Multi-Container Applications with Docker Compose

Demonstrates proficiency in Docker Compose — multi-service orchestration, networking, volumes, health checks, and production patterns.

Course Multi-Container Applications with Docker Compose

Skills You'll Earn

Docker Compose Multi-Container Service Discovery Health Checks Development Workflows

Complete all lessons in this course to earn this badge