runc
The small program that actually creates a container by making the kernel calls for namespaces, control groups and the root filesystem.
In more detail
runc is the reference implementation of the OCI runtime specification. It reads a filesystem bundle and a config.json, sets up namespaces and control groups, switches root with pivot_root, starts your process and exits. docker info reports it as the default runtime.
Example
docker info -f '{{.DefaultRuntime}}' # runcRelated terms
- containerd — An industry-standard program that manages containers and images on a machine, used underneath Docker and most Kubernetes clusters.
- OCI runtime specification — The standard that says how to run a container from an unpacked filesystem plus a configuration file.
- namespace (Linux) — A Linux kernel feature that controls what a process can see, such as which other processes, network or host name.
- control group — A Linux kernel feature that limits how much memory, processor time and other resources a group of processes may use.
- pivot root — A Linux system call that swaps a process to a new root directory so it can no longer see the old one.
- container runtime — Software that creates and runs containers from images.
Taught in
- Preparing A Node Before kubeadm Will Touch It — Certified Kubernetes Administrator (CKA) Exam Prep
- CNI, CSI, CRI And CRDs: The Plug-In Points — Certified Kubernetes Administrator (CKA) Exam Prep
- Sandboxed Pods: RuntimeClass And gVisor — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Mock Exam: Seventeen Security Tasks Against The Clock — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Runtime Anomaly Detection with Falco & eBPF — Cloud Security & DevSecOps Engineering
- Docker, OCI, The Engine And The CLI — Docker Architecture & Production Containers
- Install Docker And Verify Your Environment — Docker Architecture & Production Containers
- From Local Containers To Kubernetes — Docker Architecture & Production Containers
- Pin It, Lint It, Prove It: Images And Runtimes — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Fundamentals Sprint: Four Tickets Before The Doors Open — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Works On My Laptop: Images, Containers, Volumes And Networks — CompTIA Linux+ (XK0-006) Exam Prep