Integrating Containers in JavaScript
summary
Builds two integrations: a quick child_process + ctr CLI proof‑of‑concept that is runnable in about an hour, can pull images and start tasks but forces fragile string parsing, requires containerd/ctr on the same host and has serious input‑sanitization risks; and a deeper gRPC / containerd proto client in Node that downloads content blobs and creates image descriptors with structured error codes, which works for image content but still needs OCI spec work, TLS certs for remote use, and more wiring to create runnable containers.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 0:57Understanding containers
- 7:37First attempt: Child process
- 18:53Second attempt: gRPC
- 29:06Conclusion and resources
related talks
37mEmbedding the Containerd Runtime for Fun and Profit [I]
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?
01h 35mDocker Deep Dive for JavaScript Developers
30mIntroduction and Deep Dive into containerd
31mNodeJS: Supercharge Your Integration Tests with Vitest, Testcontainers and PGlite
02mSandboxing Node js with CoreOS and Docker
