Definition
What it is
The runtime lifecycle is two stages: a high-level runtime (containerd, CRI-O) that pulls images, manages the network, sets up the filesystem, and a low-level runtime (runc, crun) that calls clone() with the right namespaces and execve() on the entrypoint.
Why it matters
The runtime decides the isolation guarantees. Different runtimes = different syscall filters, different memory management, different startup time. K8s abstracts it via the Container Runtime Interface (CRI) so any runtime can be plugged.
Connections
- container
- container-image
- kubernetes
- containerd
- oci
Sources
Open Container Initiative (2024). OCI Runtime Specification. https://github.com/opencontainers/runtime-spec
Kubernetes (2024). Container Runtime Interface (CRI). https://kubernetes.io/docs/concepts/architecture/cri/