CRI-O is a container runtime whose only job is to run containers for the Kubernetes kubelet. It implements the Container Runtime Interface (CRI), pulls OCI images, starts containers through an OCI runtime such as runc, crun or Kata Containers, and reports their state back to Kubernetes. It addresses the need for a small, predictable runtime that follows Kubernetes releases closely and carries no features beyond what a node requires. CRI-O was started by Red Hat in the Kubernetes incubator in 2016, joined the CNCF in April 2019 and graduated on 19 July 2023.
CNCF daily · Sprint 2, day 5 · Container Runtime
At a glance
| Category | Runtime › Container Runtime |
| CNCF status | Graduated. Accepted April 8, 2019; graduated July 19, 2023 |
| Written in | Go |
| License | Apache 2.0 |
| Scope | Kubernetes CRI only; no general-purpose container CLI or build tooling |
| Versioning | Each CRI-O minor version matches a Kubernetes minor version (for example CRI-O 1.31 with Kubernetes 1.31) |
| OCI runtimes | runc, crun and Kata Containers, selected per pod through runtime classes |
Architecture
Slate is Kubernetes and the pod network, purple the CRI-O daemon, amber the image library, teal storage and registry, and grey the per-container monitor and execution path. Metrics and traces to Prometheus and OpenTelemetry are not drawn. Open the zoomable diagram, or download it as SVG or PNG.
| Component | Responsibility |
|---|---|
| CRI-O daemon | Serves the CRI gRPC API to the kubelet, manages pod sandboxes and containers, and applies node-level configuration such as seccomp, SELinux and cgroup settings. |
| containers/image | Pulls and verifies OCI and Docker images from registries, including signature policy and registry mirror rules. |
| containers/storage | Stores image layers and container filesystems on the node, shared with tools such as Podman and Buildah. |
| CNI plugins | Set up pod networking through the Container Network Interface when the sandbox is created. |
| conmon | A small monitor process started for each container. It keeps the container’s stdio and exit code alive even if the CRI-O daemon restarts. |
| OCI runtime | runc or crun creates the container from an OCI runtime spec; Kata Containers adds a lightweight virtual machine per pod. |
| Containers | The processes in the pod, isolated with namespaces and cgroups. |
Design principle. CRI-O does only what the kubelet asks for and relies on shared building blocks for everything else: the containers libraries for images and storage, conmon for supervision, and OCI runtimes for execution. Keeping the scope this narrow reduces the code that runs on every node and keeps its release cycle aligned with Kubernetes.
From a CRI call to a running container
- CRI call. The kubelet asks CRI-O to run a pod sandbox and its containers.
- Pull. CRI-O asks containers/image to pull each image.
- Fetch. containers/image downloads and verifies layers from the registry.
- Unpack. Layers are unpacked into containers/storage.
- Network. CRI-O creates the sandbox and calls the CNI plugins to set up the pod network.
- Spawn. CRI-O starts a conmon process for each container.
- Hand over. conmon passes the OCI runtime spec to the runtime.
- Create. The runtime creates the container with namespaces and cgroups.
- Report. conmon keeps the container’s stdio and exit status and reports them to CRI-O.
Because conmon owns the container process, CRI-O can be restarted or upgraded without stopping running containers.
Open the zoomable flow diagram, or download it as SVG or PNG.
Production reference design
A typical deployment is a kubeadm, on-premises or OpenShift cluster where the node image is built with CRI-O as its runtime.
- Match versions. Install the CRI-O minor release that matches the cluster’s Kubernetes minor version, from the distribution’s CRI-O package repository.
- Install and start the service on each node (shown for a Debian-based node with the CRI-O repository already configured):
sudo apt-get install -y cri-o sudo systemctl enable --now crio sudo crictl --runtime-endpoint unix:///var/run/crio/crio.sock info - Point the kubelet at CRI-O by setting
--container-runtime-endpoint=unix:///var/run/crio/crio.sock, or passcriSocket: unix:///var/run/crio/crio.socktokubeadm initandkubeadm join. - Configure the runtime in a drop-in file so node upgrades do not overwrite it:
# /etc/crio/crio.conf.d/10-crio.conf [crio.runtime] default_runtime = "crun" cgroup_manager = "systemd" [crio.runtime.runtimes.crun] runtime_path = "/usr/bin/crun" [crio.runtime.runtimes.kata] runtime_path = "/usr/bin/kata-runtime" runtime_type = "vm" - Expose stronger isolation selectively with a RuntimeClass, so only chosen workloads pay the virtual machine cost:
Pods then setapiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: { name: kata } handler: kataruntimeClassName: kata.
Typical uses include OpenShift and other enterprise distributions, security-sensitive clusters that mix runc and Kata Containers, and teams that want the runtime version tied directly to the Kubernetes version they operate.
Operational considerations
- Version coupling. Upgrade CRI-O together with the kubelet on each node, keeping the same minor version. Running a CRI-O release far from the cluster version is unsupported and can break newer CRI features.
- Cgroup driver. The kubelet and CRI-O must use the same cgroup manager, normally
systemd. A mismatch is a common cause of pods that start and then fail. - Daemon restarts. Because conmon supervises each container, restarting the
crioservice does not stop running containers. Plan restarts as part of node maintenance anyway, and drain nodes for upgrades. - Image policy and mirrors. Registry mirrors, signature verification and pull policy are set in the containers configuration under
/etc/containers. Test them before enforcing, because a strict policy blocks pulls. - Debugging. Use
crictlto inspect pods, containers and images on a node, since the Docker CLI does not apply. Journal logs for thecriounit are the first place to look for sandbox failures.
Adoption
- The project’s
ADOPTERS.mdlists Red Hat OpenShift Container Platform, which uses CRI-O as its only supported runtime from OpenShift 4, and SUSE CaaS Platform, which made it the default in version 4. - It also lists Oracle Linux Cloud Native Environment, Lyft, Reddit, Adobe, Digital Science and HERE Technologies among production users, with Lyft reporting use since 2017 and Reddit since 2021 across its self-managed clusters.
- The CNCF graduation announcement in July 2023 reported more than ten public adopters and cited IBM Cloud Satellite and Adobe among them. The list is described as non-exhaustive.
Alternatives
| Solution | Model | Best suited to |
|---|---|---|
| containerd (CNCF Graduated) | General-purpose runtime used by most managed Kubernetes services | The common default; see the containerd brief |
| Docker Engine with cri-dockerd | Docker daemon behind a CRI adapter | Environments that still depend on Docker-specific tooling |
| Mirantis Container Runtime | Commercial Docker-based engine | Teams that need vendor support for a Docker lineage |
| Kata Containers or gVisor (as OCI runtimes) | Sandboxed runtimes used beneath CRI-O or containerd | Workloads that need stronger isolation than shared-kernel containers |
Strengths and limitations
| Strengths | Limitations |
|---|---|
| Minimal scope: only the CRI, with no extra daemon features | No general-purpose container CLI; node debugging uses crictl |
| Release versions track Kubernetes minors closely | Must be upgraded in step with Kubernetes, which adds node upgrade planning |
| Supports runc, crun and Kata Containers per pod through runtime classes | Smaller ecosystem and tutorial base than containerd |
| Default runtime on OpenShift, with enterprise vendor support | Most managed cloud Kubernetes services default to containerd, so CRI-O is mostly a self-managed choice |
| Shares the containers libraries with Podman and Buildah | Configuration is spread across crio and containers files, which needs clear ownership |
Recommendation
Adopt when you run OpenShift, or a self-managed cluster where you control the node image and want a runtime that follows Kubernetes releases and supports mixed runc and Kata workloads. If you run a managed cloud service, use the runtime the provider supports, which is usually containerd. Standardize on one runtime per cluster and build the CRI-O version into your node upgrade runbook.
References: CNCF project page · CRI-O website · CRI-O repository · CRI-O adopters · CNCF graduation announcement · CNCF Landscape

