Posts tagged #dockerfile
Docker
Multi-Stage Docker Builds: Smaller, Safer Images
Build in one stage, ship from another: multi-stage Dockerfiles for Node.js and Go, BuildKit cache mounts, test stages in CI and the pitfalls.
· 4 min read
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
From Dockerfile to Kubernetes in Four Steps
Take a Node.js API from a first Dockerfile to validated Kubernetes manifests with four free OpsAtlas tools: lint, Compose, generate, validate.
· 4 min read
Docker
Pin Docker Base Images by Digest and Keep Them Updated
Why node:22 can change under you, how to pin FROM lines to an immutable digest, and how Renovate or Dependabot keep pinned images patched.
· 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