What it is
Docker is the toolchain that made containers boring — in the best way. A Dockerfile describes your app’s environment: base image, dependencies, code, command. Docker builds that into an image, runs it as an isolated container, and the same image works on your laptop, in CI and in production. It solved the oldest lie in software: “it works on my machine.”
The ecosystem has layers: Docker Engine (the runtime), Docker Desktop (the GUI and VM for macOS/Windows/Linux), Docker Hub (the public registry), Docker Compose (multi-container local stacks) and Docker Buildx (multi-arch and advanced builds). Underneath, it’s all OCI images and the runc standard — which is why Kubernetes, podman and containerd all speak the same format.
What it actually does
Three verbs cover 90% of usage: build, ship, run. docker build turns a Dockerfile into an image; docker push sends it to a registry; docker run starts a container from it. Compose lifts that to whole stacks — app, database, cache — with one YAML file and one command.
# The classic sanity check
docker run hello-world
# Build and run your app
docker build -t myapp:latest .
docker run -p 3000:3000 myapp:latest
# Multi-container local stack
docker compose up -d
docker compose logs -f web
docker compose down
# Housekeeping
docker ps -a
docker image prune
Images are layered, so rebuilds only redo what changed — put your dependency install before your code copy and you’ll feel it. Volumes persist data; networks wire containers together; multi-stage builds keep production images tiny by compiling in one stage and shipping only the artifacts.
How it compares to alternatives
vs Podman. Podman is the daemonless, rootless cousin — no background service, better Linux integration, drop-in CLI compatibility (alias docker=podman mostly works). It’s the pick on hardened Linux hosts; Docker Desktop remains the path of least resistance on macOS and Windows. Both produce standard OCI images.
vs Kubernetes. Not really rivals — Docker packages, Kubernetes schedules. Docker runs the container; Kubernetes decides where, how many and what happens when one dies. Docker Compose covers single-host dev and small deployments; Kubernetes is for fleets. Most teams do both: Compose locally, Kubernetes (or Fly.io) in prod.
Pricing and free tier
Docker Engine is open source and free forever. Docker Hub has a generous free tier for public repositories, with pull-rate limits for anonymous users. Docker Desktop is free for personal use, education, open source and small businesses; larger companies need a paid subscription (Pro around $5–9/user/month, Team and Business higher). Docker Hub private repos and image pull quotas scale with the paid tiers. Check docker.com for current Desktop licensing and Hub limits.
Where it shines / where it doesn’t
Shines: reproducible dev environments, CI pipelines, shipping apps with complex native dependencies, running databases locally without polluting your machine, and the universal packaging format every deploy platform accepts.
Doesn’t: GUI desktop apps (they’re miserable), tiny scripts that don’t need isolation, and — important — it doesn’t orchestrate. Once you need rolling deploys, self-healing and service discovery across hosts, you need Kubernetes or a platform like Railway on top.
Getting started in 3 minutes
# 1. Install Docker Desktop (or Engine on Linux)
# 2. docker run hello-world
# 3. Write a Dockerfile: FROM node:20-alpine / COPY . / RUN npm i / CMD ["npm","start"]
# 4. docker build -t app . && docker run -p 3000:3000 app
Three minutes from install to a containerized hello-world; ten more to your own app in a container.
PeaBox fit
Docker is table stakes for PeaBox’s local-first ethos: any tool worth running locally should also run in a container, and Compose files are how we make git clone && docker compose up the entire setup docs. It feeds directly into Kubernetes when a project outgrows a single host, into Fly.io and Railway for zero-ops deploys, and pairs with Workers when the workload wants the edge instead of a container.
The honest practitioner take
You don’t choose Docker so much as accept it — it’s the water in which modern software swims. The Dockerfile is now as much a part of the project as the README, and knowing image hygiene (multi-stage builds, layer ordering, not shipping your .git directory) separates people whose builds take 30 seconds from those waiting ten minutes. My one warning: docker system prune is a loaded gun, so keep your volumes for things you love. Everything else about Docker is the rare standard that genuinely earns the word.
Limits and pricing approximate as of Nov 2026; check docker.com before you budget.