Learning by Pulling Things Apart
summary
Explains how a Dockerfile becomes an image by tracing each statement into layers and a manifest and shows the actual toolchain used: buildctl with moby/buildkit runs as a daemon, LLB serves as an LLB intermediate representation analogous to LLVM IR, and buildctl outputs images that are pushed and run. Demonstrations include a Go program that generates LLB, five example builds built and run successfully, and a custom syntactic front end called ic file (INTERCAL‑inspired) that compiles to LLB. Proposes building serverless workflows by programmatically producing images in a few hundred lines.
AI-written summary · about
chapters (12)
- 0:00Introduction to talk
- 1:10Containers vs container images
- 2:54How executables are created
- 5:19BuildKit and compiler analogy
- 10:53Standard Docker build demo
- 12:20Direct BuildKit build demo
- 15:10LLB intermediate representation
- 18:18Programmatic LLB build demo
- 20:43Custom front-end compilers
- 22:11Building a custom syntax front end
- 26:45Future of containerization
- 28:50Call to build something
related talks
28mCompiling Containers
25mBuilding Docker Images Without Docker
45mDocker Bake, elegance and standardization for building your Docker images
58mOptions Galore to Get from Source Code to Container
34mDefence Against the Docker Arts
36mBuild a Container Image from Scratch
15mThe Whale, the Container, and the Ocean - A Docker Tale
01h 00mDocker for development
