Docker for development
summary
Explains how a Docker image is a layered snapshot and demonstrates writing Dockerfiles with COPY/ADD, RUN (composer install), ARG/ENV, and an entrypoint+cmd that picks one process; shows docker container run hello-world, the Docker daemon/desktop VM behaviour on Mac, and image caching with buildkit caching and ordering tricks. Covers multi-stage builds to keep artifacts out of final images, bind mounts and the bind mount slowdown on Mac, Compose YAML service names, publishing ports, build secrets and a CI flow that tags a unique build image then promotes it.
AI-written summary · about
chapters (12)
- 0:00Start
- 1:41Virtual Machines
- 2:58OS-level virtualisation
- 5:50Getting started
- 6:57Architecture
- 13:00Running an interactive container
- 15:19References
- 17:19Reference defaults
- 36:47Runtime configuration
- 36:57Bind mounts
- 38:24Environment variables
- 42:47Yaml configuration








