Live

Latest News

View all

Guides

View all
Operating Containers: Healthchecks, Resource Limits, Restart Policies, and Env Config
Sep 11, 2026

Operating Containers: Healthchecks, Resource Limits, Restart Policies, and Env Config

Make Docker containers behave in production: healthchecks and health-gated startup, memory and CPU limits (and the OOM exit 137), restart policies that self-heal, and clean env config. Real captured output.

Where Your Data Lives: Docker Volumes, Bind Mounts, and Networks
Sep 10, 2026

Where Your Data Lives: Docker Volumes, Bind Mounts, and Networks

Make container data survive restarts and let containers talk to each other: named volumes vs bind mounts, backing up and restoring a volume, and user-defined networks with DNS by name. Real captured output.

Lean Docker Images: Multi-Stage Builds and Layer Caching
Sep 10, 2026

Lean Docker Images: Multi-Stage Builds and Layer Caching

Build the same Node app two ways and measure it: a naive 1.62GB image versus a 233MB multi-stage Alpine image. Real numbers for image size, layer caching, and docker history, with a working Dockerfile you can copy.

Docker Compose: Run a Multi-Service Stack (Web + Postgres + Redis)
Sep 10, 2026

Docker Compose: Run a Multi-Service Stack (Web + Postgres + Redis)

Build and run a real three-service stack with Docker Compose: a Node API, Postgres, and Redis wired together with one docker compose up. Real captured output, service-to-service networking, and the depends_on readiness gotcha.

Run Your First Containers: docker run, ps, logs, exec, stop, rm
Sep 10, 2026

Run Your First Containers: docker run, ps, logs, exec, stop, rm

Drive the everyday Docker container lifecycle on a real nginx server: run, ps, logs, exec, stop, start, and rm, plus the image-versus-container mental model. Real captured output on Docker Engine 29.8.0.

Install Docker on macOS, Windows (WSL2), and Linux: One Guide, Three Paths
Sep 10, 2026

Install Docker on macOS, Windows (WSL2), and Linux: One Guide, Three Paths

Get a working Docker Engine on macOS, Windows with WSL2, and Linux, then verify with docker run hello-world. Real captured output, the post-install docker group and rootless steps, and the gotchas each OS actually needs.

From the Blog

View all
Newsletter

The best of Tech Dev Mantra, in your inbox

Weekly guides, honest reviews, and the developer news that matters. No spam — unsubscribe anytime.