Posts tagged #containers
Docker
Dockerfile Mistakes That Leak Secrets and Bloat Images
Six Dockerfile mistakes you can prove with docker history, inspect and top: leaked tokens, layers that never shrink, stale apt caches and slow stops.
· 4 min read
Kubernetes
Your First Kubernetes Deployment and Service
Run a container on a local Kubernetes cluster: generate a Deployment and Service, check them, apply them and watch Kubernetes keep the app running.
· 4 min read
Docker
A Local Dev Stack with Docker Compose
Run an API and Postgres together with one command: convert docker run to Compose, then add builds, health checks, startup order and a .env file.
· 3 min read
Docker
Write Your First Dockerfile
Build a container image for a small Node.js API line by line, run it, then lint it and fix it to a perfect score. No Docker experience needed.
· 4 min read
Docker
Migrating from docker run to Docker Compose
A practical, step-by-step guide to turning a pile of docker run commands into one compose.yaml, and the five mistakes to fix along the way.
· 3 min read