Docker
4 posts
From Docker to Production: Multi-Stage Builds, Slim Images, and Security Best Practices
Take a Dockerfile that merely "works on my machine" and rewrite it into one you can ship to production with confidence, covering multi-stage builds, image slimming, and the most common security traps.
Docker Compose in Practice: Networks, Volumes, and Environment Variables
A complete docker-compose.yml walkthrough for how containers talk to each other over a network, how volumes keep your data alive, and where environment variables belong so they don't leak or get mixed up.
Docker Layers and Build Cache: How to Write a Dockerfile That Doesn't Rebuild Everything Every Time
Understand how Docker layers and the build cache actually work, then use instruction ordering, multi-stage builds, and BuildKit cache mounts to cut build times from minutes to seconds.
How Docker actually works under the hood: namespaces, cgroups, and union filesystems
Starting from the common misconception that a container is just a lightweight VM, this post breaks down the three Linux kernel technologies Docker actually depends on — how a container gets isolated, how its resources get capped, and how its filesystem gets layered together.