← Back
Home › Systems › Cloud platform and compute

container-runtime

container runtime and isolation

containerd, gVisor

SystemTechniques · 2Primitives · 19 container-runtime Syscall interceptionsecurity · medium: Intercept syscalls via ptrace, seccomp user notify or a user-space kernelLazy image pullingsystems · medium: Start containers before full download by fetching image chunks on demandSeccomp bpfsecurity · low: Syscall filtering with seccomp BPF programsOci image layoutsystems · low: OCI manifests, image index, layer tarballs and config, addressed by digestDeflatecompression · low: DEFLATE/gzip: LZ77 + Huffman, the format behind HTTP gzip, zip and PNGCgroups and namespaceshardware-os · low: Linux namespaces limit what a process can see; cgroup v2 limits and accounts what it may use. Containers, sandboxes and job schedulers are built from the two.›Overlay filesystemhardware-os · low: Union mounts (overlayfs) stacking read-only layers under a writable layerResource usage accountinghardware-os · low: Cgroup/procfs/GPU counters sampled into per-workload usageVirtual network interfacesnetworking · low: Veth, bridges, tap and macvlan devicesLeast privilege and isolationsecurity · low: Assume every component will be compromised and limit what it can then reach: narrow identities, separate accounts, sandboxed processes.›Content-addressed storagestorage · low: Store each blob under the hash of its bytes: immutable, deduplicated by construction, self-verifying on every read, and composable into Merkle trees.›Copy on write snapshotsstorage · low: Point-in-time snapshots by sharing pages/extents and copying only on writeTar archive formatstorage · low: Ustar/pax tar headers and streaming archivesEbpfhardware-os · low: Verified in-kernel programs on hooks (kprobes, XDP, tc) with mapsPtrace process controlhardware-os · low: Ptrace: attach, read and write registers and memory, single-step, intercept signalsSeekable compressed streamcompression · low: Independently compressed blocks plus an index for random access (BGZF, seekable zstd, eStargz)Fuse userspace filesystemhardware-os · low: FUSE protocol: kernel forwards VFS requests to a userspace daemon; caching and spliceHTTP range requestsnetworking · low: Ask for byte offsets with Range and get a 206 slice back; the standard way to resume, seek and read big remote files piecewise.›+ 3 more primitives

Similar systems

Share the most building blocks with this one.