Topic · 14 lessons in 4 series
Docker and Kubernetes
Containers from the first Dockerfile to a running Kubernetes cluster: images, networks, volumes, pods, services and debugging.
DevOpsWhole series →
System DesignWhole series →
- Docker & Containers for Beginners“It works on my machine” ends here. What containers really are (and aren't), images, layers and registries, a production-grade multi-stage Dockerfile, running and composing containers locally, tags vs digests, and the security basics.10 min
- Kubernetes Core ConceptsRunning 300 containers across 40 machines by hand doesn't work. How Kubernetes turns “what I want” into “what's running”: the control plane and nodes, the reconciliation loop, pods, deployments, services and ingress, health probes, resources and autoscaling — and whether you need it at all.12 min
Full-Stack QuestionsWhole series →
Docker & KubernetesWhole series →
- Why Containers: Images, Containers and How They Differ From VMsThe problem containers solve, namespaces and cgroups in plain words, images versus containers, registries, and the first docker run.12 min
- Writing a Dockerfile: Layers, Caching and Small ImagesInstruction by instruction, layer caching, multi-stage builds, base image choice, .dockerignore, and a Node app image built the right way.15 min
- Volumes, Networks and Running Containers SafelyPersisting data, bind mounts, networks and ports, environment variables and secrets, non-root users and other safety habits.14 min
- Docker Compose: Running a Whole App LocallyServices, networks, volumes, health checks and depends_on, a Node app with Postgres and Redis, and development habits.13 min
- Kubernetes Core Ideas: Cluster, Pods and DeploymentsWhy orchestration, control plane and nodes, pods, ReplicaSets and Deployments, declarative YAML and the reconcile loop.15 min
- Services, Ingress and Networking in KubernetesHow pods find each other, ClusterIP, NodePort and LoadBalancer, DNS names, Ingress, and what a service mesh is for.14 min
- Configuration, Secrets and Storage in KubernetesConfigMaps, Secrets and their limits, persistent volumes and claims, StatefulSets at a glance.14 min
- Scaling, Rollouts and Reliability: Probes, Resources and AutoscalingReadiness and liveness probes, requests and limits, rolling updates and rollbacks, HPA, PodDisruptionBudgets.15 min
- Debugging Containers and ClustersThe commands to read logs, exec in, describe events, and fix the classic failures: CrashLoopBackOff, ImagePullBackOff, Pending, OOMKilled.14 min
- Docker and Kubernetes Interview Questions With Model AnswersContainers, images, networking, orchestration and troubleshooting questions with model answers.16 min