Docker
Images, containers, Dockerfiles, ports, volumes, and Compose, without the hype.
-
Docker without the buzzwords
Understand what Docker actually is and does (images, containers, Dockerfiles, ports, volumes, and Compose) without the enterprise hype.
read -
Images, containers, and Dockerfiles
The recipe, the snapshot, and the running instance: what an image, a container, and a Dockerfile actually are, and how docker build and docker run connect them.
read -
Write your first Dockerfile
A real working Dockerfile for a Node and Express app, every instruction explained, plus .dockerignore and the node_modules trap.
read -
Docker ports, volumes, and environment variables
The three Docker settings that break most beginner setups, and exactly what 3000:3000 really means.
read -
Run multiple services with Docker Compose
One file to start a Node API, PostgreSQL, and Redis together, with the networks, volumes, and env vars wired up.
read -
Keep your data with Docker volumes
Why containers are disposable but your data should not be, named volumes versus bind mounts, and how to reset a database on purpose instead of by accident.
read -
Connect containers with Docker networking
Why localhost means something different inside a container, how Compose service names work, and the API connection bugs that follow.
read -
Containerize a full-stack app
How Docker fits a real app with a frontend, a Node backend, Postgres, and Redis, and why the frontend is often Dockerized for dev but shipped as static files.
read -
Prepare a Docker image for production
Multi-stage builds, smaller images, non-root users, health checks, restart policies, and secrets, and why npm run dev is not a production command.
read -
Debug a Docker container
A practical survival guide for Docker problems: ps, logs, exec, inspect, rebuilding without cache, and reasoning through it built but does not work.
read