DevOps · Series 4 of 10
Containers: Docker from the Ground Up
What a container really is, this site's Dockerfile explained line by line, running it on your own machine, and keeping images small and safe.
Cloud Run runs containers, so the container is the unit of delivery. This series starts with the idea and ends with an image you would be happy to run in production.
Chapters
- Chapter 13 min Why Containers A container packs an application with everything it needs to run, so it behaves the same on a laptop, in CI and in the cloud. What that means in practice.
- Chapter 23 min The Dockerfile, Line by Line The complete production Dockerfile of this site, every instruction explained, including the two that most tutorials get wrong: layer order and the user.
- Chapter 33 min Build and Run the Image Locally Build the production image on your own machine, run it with your local settings, look inside it, and catch problems before the pipeline does.
- Chapter 43 min Smaller, Safer Images A checklist for production images: minimal base, nothing secret, nothing extra, no root, pinned versions, and a habit of checking what you ship.