~/talk

Build a Container Image from Scratch

slides:none on file

Manual assembly of an OCI image builds the four concrete parts: layers (tar.gz change sets), content-addressable blobs, a JSON config and a manifest/index.json. The demo compiles a statically linked hello C binary, packages it into a layer, computes SHA-256 names, updates config (entrypoint), manifest and index, tars the layout, then loads it into Podman. Both a scratch-based image and an Alpine-based image load and run successfully, showing expected output.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03What is a container image
  3. 2:27History of image formats
  4. 3:32Image layers explained
  5. 7:23Layers build filesystem
  6. 9:51OCI image config
  7. 10:54Manifests and content addressability
  8. 13:22Index.json and multi-platform
  9. 14:50Build image from scratch
  10. 20:37Demo: Minimal OCI image
  11. 26:22Demo: Alpine layers
  12. 32:33Key takeaways and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.