What Is CRI-O? Choosing and Troubleshooting a Kubernetes Node Runtime
CRI-O implements Kubernetes CRI so kubelet can run Pod containers through OCI-compatible runtimes. Learn the request path, compare operational fit with containerd, and diagnose socket, sandbox, and cgroup issues safely.
What Is CRI-O? Choosing and Troubleshooting a Kubernetes Node Runtime
CRI-O is a node container runtime that implements Kubernetes’ Container Runtime Interface (CRI). Kubelet sends Pod and image requests to CRI-O’s CRI service; CRI-O prepares images and the Pod sandbox, then delegates process execution to an OCI-compatible runtime. It is a node component between Kubernetes and an OCI runtime—not the Kubernetes control plane or a general desktop development tool.
What problem does CRI-O solve?
Kubelet needs to start Pods on each node, but it does not implement every runtime’s private API. CRI provides a gRPC contract for Pod sandbox, container, and image services. CRI-O implements that contract so kubelet can work with a runtime through a stable interface. Kubernetes v1.26 and later requires runtimes to support CRI v1.
CRI-O is not another name for Docker. Docker Engine is a developer product with CLI/API and broader workflows. Docker Engine itself does not implement CRI; Kubernetes v1.24 and later needs an adapter such as cri-dockerd to use Docker Engine as the node runtime. CRI-O focuses on serving the CRI requests kubelet uses. Compare our runtime-layer overview and containerd’s Kubernetes flow.
How does a Pod request flow through CRI-O?
After the scheduler selects a node, kubelet asks CRI-O to create a Pod sandbox. CRI-O prepares the sandbox and coordinates a CNI plugin for networking. Kubelet requests the application image through the image service; CRI-O retrieves it and prepares the container root filesystem. CRI-O then generates an OCI runtime specification and asks an OCI-compatible runtime such as runc to run the process. A conmon process monitors each container’s state and logs.
Kubernetes scheduler → selects node
kubelet → CRI (gRPC) → CRI-O
├─ retrieve image and prepare rootfs
├─ Pod sandbox and CNI networking
└─ OCI spec → runc → container process
conmon: state and logsThis simplifies the project’s documented architecture. Runtime, storage, and network plugins depend on CRI-O version and node configuration. The OCI image format defines image representation; CRI-O connects an image to Pod execution on the node.
How should you choose between CRI-O and containerd?
Both are CRI runtimes Kubernetes can use. Choose based on the platform and operating needs, not an unsupported universal claim about performance or superiority.
| Consideration | CRI-O may fit when… | containerd may fit when… |
|---|---|---|
| Platform support | Your distribution or Kubernetes provider standardizes and supports CRI-O | Your provider, node images, or operations already standardize containerd |
| Scope | You want a runtime focused on the Kubernetes CRI/OCI boundary | Your ecosystem integrates container lifecycle across multiple clients |
| Team operations | Your team has CRI-O procedures, expertise, and upgrade automation | Your team already operates containerd tooling and upgrades |
These are operational questions, not benchmark results. Check Kubernetes version and CRI v1 support, distribution packages, managed-service constraints, security and upgrade procedures, and incident-response experience. Changing a runtime on a joined node is not a harmless toggle.
What should you inspect first?
The following are read-only examples for a general Linux node. For managed Kubernetes, use the provider’s diagnostics and change policy. The common Linux CRI-O socket is /var/run/crio/crio.sock, but the kubelet endpoint can be configured differently.
sudo systemctl status crio kubelet
sudo crictl --runtime-endpoint unix:///var/run/crio/crio.sock info
sudo crictl --runtime-endpoint unix:///var/run/crio/crio.sock pods
sudo journalctl -u crio -u kubelet --since "15 minutes ago"First check both services. If crictl info cannot connect, compare kubelet’s --container-runtime-endpoint, the actual CRI-O socket, and crictl’s endpoint. A wrong path or permissions can cause a connection error. If connection works but sandbox creation fails, check CNI, pause-image access, CRI-O settings, and cgroup-driver alignment. Kubernetes documents systemd as CRI-O’s default cgroup driver and recommends keeping kubelet and runtime configuration consistent. Changing a cgroup driver on a node already in a cluster is sensitive and can prevent existing Pod sandboxes from being recreated; follow a planned node replacement or approved maintenance procedure rather than changing it ad hoc. If a container starts then exits, compare crictl ps -a, crictl logs <container-id>, kubectl describe pod, and events to separate image, application, and runtime failures.
crictl is a node CLI for CRI-compatible runtimes. Set the actual endpoint explicitly or in /etc/crictl.yaml; otherwise it may try several known sockets and affect performance. Remove tokens, passwords, and personal data before sharing logs.
What does CRI-O not provide?
CRI-O runs container requests on a node; it does not schedule Pods or operate the Kubernetes control plane. CNI configures networking, storage systems provide persistence, and registry and policy systems manage image provenance and approval. Selecting a runtime does not by itself secure a container or preserve its data. During an incident, identify the failed boundary—kubelet-to-CRI socket, image pull, sandbox/CNI, OCI runtime, or application exit—instead of labeling every failure a “CRI-O problem.”
Sources and scope
[CRI-O project and architecture](https://cri-o.io/)
[Kubernetes CRI overview](https://kubernetes.io/docs/concepts/containers/cri/)
[Kubernetes runtime setup and CRI-O configuration](https://kubernetes.io/docs/setup/production-environment/container-runtimes/)
[Debugging nodes with crictl](https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/)
[Kubernetes note on Docker Engine and CRI adapters](https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/)
Based on official documents checked on 22 November 2026. Describes a common Linux Kubernetes node; distribution, managed-service, CRI-O, Kubernetes, and node configurations can change endpoints and settings.