Outline updated November 2026
Docker for Programmers
Class Duration
14 hours of live training delivered over 2-4 days to accommodate your scheduling needs
Student Prerequisites
- Basic programming and Linux command-line experience
- No prior Docker or container experience required
Target Audience
Software engineers, DevOps practitioners, SREs, and solution architects who build and run containerized services. It fits teams standardizing development environments with DevContainers or Codespaces. Teams ready to orchestrate at scale can continue with Kubernetes Essentials for Programmers.
Description
This live, hands-on course teaches experienced engineers to build, run, and ship software with Docker. Students learn container fundamentals and OCI standards, then build images with multi-stage Dockerfiles. They run and network containers, persist data with volumes, and run database-backed apps. Later modules cover Docker Compose, the move from Compose to Kubernetes, DevContainers, and Codespaces. The course ends with image hardening, SBOMs, and Docker in CI/CD pipelines.
Learning Outcomes
- Explain containers, images, registries, and OCI standards.
- Compare Docker with Podman, containerd, CRI-O, and Kubernetes.
- Build efficient images with Dockerfiles and multi-stage builds.
- Tag, publish, and manage images in registries.
- Run containers with ports, environment variables, and entrypoints.
- Persist data with bind mounts and named volumes.
- Connect containers with bridge, host, macvlan, and none networks.
- Run multi-service applications with Docker Compose.
- Convert Compose applications to Kubernetes with Compose Bridge or Kompose.
- Harden images and attach SBOM and provenance attestations.
- Develop inside containers with VS Code DevContainers and GitHub Codespaces.
- Build, scan, and push images in CI/CD pipelines.
Training Materials
All students receive comprehensive courseware covering all topics in the course. Courseware is distributed via GitHub in the form of documentation and extensive code samples. Students practice the topics covered through challenging hands-on lab exercises.
Software Requirements
Students will need a free, personal GitHub account to access the courseware. Student will need permission to install Docker Desktop, Visual Studio Code, and Visual Studio Code Extensions on their computers.
Training Topics
Overview of Docker & Containerization
- What is Docker?
- What is containerization?
- What is orchestration?
- What is a container registry?
- Docker in production
- Docker for development
- Docker and DevContainers
Development Environment
- Docker Desktop
- Docker Hub
- Useful Visual Studio Code extensions
- Visual Studio Code DevContainers
- GitHub Codespaces and DevContainers
Containerization
- Images vs. containers
- The standard unit of software
- Application isolation
- Underlying technology
- Namespaces
- Control groups
- Union file systems
- Open Container Initiative
- Image format
- Runtime specification
Docker Image and Container
- Managing images
- Listing and removing images
- Searching for images
- Image tags and versions
- Pulling images
- Image caching
- Running a hello-world container
Create Image with Dockerfile
- Writing a Dockerfile
- Building an image
- Tagging an image
- Publishing an image
- Running an Nginx container
Dockerfile
- Layers
- Organizing layers
- Base images
- The working directory
- Copying files
- Running commands
- Environment variables
- Ports
- The container executable
- Multi-stage builds
- Dockerfile best practices
Run Container
- Detached mode
- Interactive mode
- Port mapping
- Volume mapping
- Running a database container
- Running an interactive database client
Docker Volumes
- Data persistence
- Bind mounts
- Named volumes
- Volume drivers
- Volume plugins
- Persistent volumes for databases
Docker Networking
- Container networking
- Bridge networks
- Host networks
- Macvlan networks
- The none network
- Network drivers
- Connecting a client to a database container
- Connecting a web app to a database
Docker Compose
- What is Docker Compose?
- The
docker composeCLI plugin - Retired standalone
docker-compose - YAML file format
- The Compose file
- Services
- Network and volume configuration
- Environment variables
- Building with Compose
docker compose upanddown- Running detached with
-d - A web app and database with Compose
From Compose to Kubernetes
- Outgrowing a single Docker host
- Compose Bridge with
docker compose bridge convert - Converting Compose files with Kompose
- What does not translate directly
- Builds,
depends_on, and bind mounts - Reviewing generated manifests
- Customizing Kustomize overlays
- Next steps with Kubernetes
Image Hardening and Supply Chain
- Slim and Alpine base images
- Distroless images
- Docker Hardened Images
- Running as a non-root user
- Read-only root filesystems
- Build secrets
- Scanning with Docker Scout
- Open source image scanners
- SBOM and provenance attestations with BuildKit
- Signing and verifying images
Docker and CI/CD
- Continuous integration, delivery, and deployment
- Docker in CI/CD pipelines (choose one or two)
- GitHub Actions
- GitLab CI/CD
- Azure DevOps
- Jenkins
- Building and pushing images to a registry
- Image scans as a pipeline gate
- Running a container in a pipeline
Alternatives to Docker Overview
- Podman
- Buildah
- Skopeo
- CRI-O
- containerd
- Kubernetes