Embedding the Containerd Runtime for Fun and Profit [I]
summary
A minimal Go client uses containerd’s gRPC API to connect to the daemon, set a namespace, pull and unpack redis:alpine, create a snapshot-backed container (overlayfs), create a task and start Redis — about 60 lines of code on GitHub (examples/ctr) and it actually runs. The demo adds userns mapping, bind mounts and ShiftFS in a LinuxKit image to make multi-UID mounts work; the advanced client and VM setup succeed.
AI-written summary · about
chapters (7)
- 0:00Start
- 1:36Why Containerd?
- 3:24Who Uses Containerd?
- 4:51Containerd Architecture
- 6:05Containerd API
- 7:21Containerd Client Example
- 21:01Containerd Advanced Example
related talks
29mIntroduction and Deep Dive Into Containerd
29mContainerd, What Does it Mean for Me - Scott Coulton, Puppet
35mA Containerd And Friends Update: What’s New In Runtimes?
32mIntegrating Containers in JavaScript
30mIntroduction and Deep Dive into containerd
43mcontainerd
06mIntroduction to Containerd
32mDeep Dive into firecracker-containerd
