Skip to content

Course

Docker & Containers Deep Dive

A senior practitioner's tour of Linux containers — layers, networking, security boundaries, image hygiene, multi-stage builds, and runtime hardening that survives production.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

Container Internals and Image Layers

Build the correct mental model: namespaces, cgroups, overlay filesystems, image layers, and runtime state.

  1. 01Containers Are Processes, Not Virtual MachinesUse namespaces, cgroups, and the shared kernel model to predict what containers can see, change, and break.24mOpen
  2. 02Image Layers, OverlayFS, and Why Builds ExplodeRead Dockerfiles as layer-producing instructions, understand copy-on-write behavior, and control layer ordering for cache and size.26mOpen
  3. 03Container Filesystems, Volumes, and State That SurvivesDistinguish image state, writable container state, volumes, bind mounts, and tmpfs before data loss or privilege mistakes teach you the hard way.23mOpen

Networking and Security Boundaries

Trace container traffic through bridges, NAT, DNS, service discovery, kernel boundaries, capabilities, and mount exposure.

  1. 01Container Networking Under the HoodFollow packets through network namespaces, veth pairs, bridges, iptables or nftables, and published ports instead of treating Docker networking as magic.27mOpen
  2. 02DNS, Service Discovery, and Egress ControlUnderstand Docker DNS behavior, split-horizon failure modes, outbound identity, and practical egress restriction patterns.24mOpen
  3. 03Security Boundaries, Capabilities, and Escape PathsEvaluate what actually separates containerized code from the host: capabilities, syscall filtering, LSM policy, mounts, sockets, and user namespaces.28mOpen

Build Hygiene and Runtime Hardening

Design minimal reproducible images, defend the supply chain, and run workloads with constrained privileges and explicit failure behavior.

  1. 01Multi-Stage Builds and Minimal Runtime ImagesSeparate build-time toolchains from runtime artifacts, preserve reproducibility, and avoid shipping compilers, credentials, and debug debris to production.25mOpen
  2. 02Image Hygiene, Provenance, and Supply-Chain ControlsPin inputs, scan usefully, sign and verify images, generate provenance, and avoid registry practices that turn deployment into supply-chain roulette.27mOpen
  3. 03Runtime Hardening and Operational GuardrailsRun containers as non-root with dropped capabilities, read-only filesystems, explicit resource limits, controlled secrets, health checks, and observable failure behavior.28mOpen