Course
Docker Internals & Advanced Usage
Containers from the inside out — namespaces, cgroups, image layers, multi-stage builds, scanning, rootless operation, and how to choose a runtime when runc isn't enough.
Reviews
Enrolled members can rate this course.
No reviews yet.
Under the Hood
What a container actually is — namespaces, cgroups, and layered filesystems.
- 01Containers Are Not VMs: Namespaces and cgroupsA container is a lie the kernel tells a process — namespaces decide what it can see, cgroups decide what it can use. Learn both and the magic disappears.22mOpen
- 02Image Layers and OverlayFSImages are stacks of read-only diff layers merged by overlayfs — and understanding the merge explains image size, build caching, and why `rm` doesn't shrink anything.20mOpen
- 03The OCI Stack: dockerd, containerd, runc, and FriendsDocker isn't one program — it's a stack of standards-conforming components. Knowing which layer does what tells you where to look when things break and what you can swap out.20mOpen
Building Images Well
Multi-stage builds, cache discipline, and scanning what you ship.
- 01Multi-Stage Builds: Compile Heavy, Ship LightBuild with a 1GB toolchain image, ship a 20MB runtime image — multi-stage builds are the highest-leverage Dockerfile technique there is.20mOpen
- 02Layer Caching and Dockerfile DisciplineBuildKit caches by instruction and input hash — order your Dockerfile for cache hits, and rebuilds drop from minutes to seconds.20mOpen
- 03Scanning, SBOMs, and Image Supply ChainYou ship every CVE in your base image. Scan what's actually in the image, pin what you depend on, and sign what you build.22mOpen
Running Safely
Rootless Docker, runtime choices, and hardening containers in production.
- 01Rootless Docker: Containers Without RootUser namespaces let the whole Docker stack run as a regular user — closing the 'container breakout = root on host' equation for good.20mOpen
- 02Runtime Hardening: Capabilities, Seccomp, Read-Only RootsDefault containers are convenient, not safe — drop capabilities, filter syscalls, make the root filesystem read-only, and run as a real user.22mOpen
- 03Operating Containers in ProductionHealthchecks, restart policy, logging, resource limits, and the day-two discipline that separates a running container from an operated one.20mOpen