Docker from Scratch: Advanced Dockerfile Patterns

Conditional builds with ARG, health checks, cross-platform images, linting, and other Dockerfile patterns for production use.

March 6, 2026 · 6 min · Russell

Docker from Scratch: Secure Your Containers With Non-Root Users

Run containers as non-root users, choose minimal base images, and keep secrets out of your Docker layers.

March 4, 2026 · 5 min · Russell

Docker from Scratch: Shrink Your Images With Multi-Stage Builds

Use multi-stage Dockerfiles to separate build tooling from your runtime image, cutting image size by 90% or more.

March 3, 2026 · 5 min · Russell

Docker from Scratch: Writing Your First Dockerfile

Learn Dockerfile basics — FROM, COPY, RUN, CMD — and build your first container image.

March 2, 2026 · 5 min · Russell