Pcornel
Browse topics
Options
Recent
Favorites
Containers · Technical reference

Container Runtimes

Direct answer

A container runtime starts containers: high-level runtimes (containerd, CRI-O, Docker Engine) manage images and lifecycle; low-level OCI runtimes (runc, crun) create the namespaces and cgroups.

When to use this

Use it when containers fail to start at the runtime level, or to understand which runtime a Kubernetes node uses.

First 30 seconds

1. Which runtime? kubectl get nodes -o wide (CONTAINER-RUNTIME) or docker info.

2. Runtime service: systemctl status containerd.

3. Node-level view: crictl ps -a, crictl logs <id>.

4. OCI errors (runc) in the runtime journal.

5. cgroup driver matches kubelet (systemd).

Operational verification

kubelet/docker → CRI/containerd → shim → runc → container process

Evidence · next step

Failures often come from a dead daemon/socket, exhausted runtime storage, stale shim/process state, incompatible configuration, or assuming one runtime command model applies to another. CRI success also does not prove kubelet, CNI or the workload is healthy. Preserve the first divergent observation and repeat the same bounded verification after remediation.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
What not to infer

Containers owns runtime lifecycle and local runtime state. Linux owns generic service/process/filesystem diagnosis; Kubernetes Topics own orchestration above the runtime.

Platform / version applicability
Docker / containerd / Podman / Kubernetes / OCI-compatible platforms
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformDocker / containerd / Podman / Kubernetes / OCI-compatible platforms · Containers owns runtime lifecycle and local runtime state. Linux owns generic service/process/filesystem diagnosis; Kubernetes Topics own orchestration above the runtime.
Scope / prerequisiteUse it when containers fail to start at the runtime level, or to understand which runtime a Kubernetes node uses.
What next?3 suggested next steps
Child topics (this level)3
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification workflow Verify boundary

Check the runtime and version actually in use, daemon/socket reachability where applicable, runtime storage/state directories, image inventory and one bounded create/start/stop/inspect cycle. Distinguish runtime health from the health of a containerized service.

Step 2 Failure signatures and limits Narrow the fault

Failures often come from a dead daemon/socket, exhausted runtime storage, stale shim/process state, incompatible configuration, or assuming one runtime command model applies to another. CRI success also does not show kubelet, CNI or the workload is healthy.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

test · 1
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Kubernetes talks to containerd or CRI-O through CRI; Docker Engine is no longer used directly by kubelet. Use crictl on Kubernetes nodes and docker only where Docker Engine is the runtime.

Key checks
  • crictl ps -a — containers on a Kubernetes node
  • docker ps -a — containers and exit codes
  • docker logs <c> — container output
  • docker inspect <c> — config, mounts, network, state
ReferenceWhat it is1 section · depth on demand

Operating model

Container Runtimes covers the software that turns image/configuration intent into running container processes. Docker Engine, containerd and Podman expose different control surfaces, while Kubernetes normally reaches a CRI-compatible runtime through kubelet rather than directly operating application containers through Docker-style commands.

ReferenceHow it works1 section · depth on demand

In depth

Container runtimes create and run containers. The stack has layers: a high-level runtime manages images, storage and networking (containerd, CRI-O), and a low-level OCI runtime actually creates the isolated process with namespaces and cgroups (runc, crun, or sandboxed runtimes like gVisor and Kata Containers).

LayerExamplesRole
User toolsDocker CLI, Podman, nerdctl, crictlInteract with runtimes
High-level runtimecontainerd, CRI-OImages, snapshots, lifecycle, CRI for Kubernetes
OCI runtimerunc, crunStart the isolated process
Sandboxed runtimesgVisor (runsc), Kata ContainersStronger isolation via user-space kernel or micro-VMs

Kubernetes talks to runtimes via the Container Runtime Interface (CRI); since Kubernetes 1.24 it no longer uses Docker Engine directly, but images built with Docker run unchanged on containerd and CRI-O.

crictl ps                  # on a Kubernetes node
crictl inspect <id>
ctr -n k8s.io images ls
podman ps --all
ReferenceImportant terms & boundaries1 section · depth on demand

Scope map

  • Docker Engine
  • containerd
  • Podman
  • CRI and runtime boundaries
  • Runtime sockets, daemons and local state
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical examples

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Configuration example

containerd / runc containerd 1.7 or laterConfirm which runtime and cgroup driver the node uses.

Assumptions: Kubernetes node or plain containerd host; crictl configured for the containerd socket.

# /etc/containerd/config.toml (excerpt)
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
  runtime_type = "io.containerd.runc.v2"
  [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
    SystemdCgroup = true

Expected output

containerd / runc containerd 1.7 or latercrictl info | grep -E '"runtimeType"|"SystemdCgroup"'

Expected state: The CRI plugin uses runc v2 with the systemd cgroup driver, matching the kubelet cgroupDriver.

"runtimeType": "io.containerd.runc.v2",
"SystemdCgroup": true,
A cgroup driver mismatch between kubelet and containerd causes Pods to fail or restart; both must say systemd. Illustrative authored output: field layout matches the tool, values will differ in your environment.
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-29 · otherOCI / Docker / containerd / Kubernetes containerd current documentation

Documentation verification: confirms the upstream model used by the Topic. It does not assert local production behavior.

Basis: https://containerd.io/docs/ · confidence 92%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
container runtimesDocker Engine runtimecontainerd runtimePodman runtimeCRI runtime
Embedded reference data

Quick lookup tables

Container Runtimes verification boundary matrix

A compact lookup separating intent, owning component state, effective state and consumer-visible outcome for Container Runtimes.

BoundaryInspectHealthy interpretationDo not infer
IntentDocker EngineIntended object/scope is explicit and versioned where relevantIntent is already effective
Owning runtime/control planecontainerd / PodmanOwner accepts and reports the expected object stateDownstream dependencies are healthy
Effective stateCRI and runtime boundariesIndependent read-back matches the intended stateEvery client sees the same result
Consumer outcomeRuntime sockets, daemons and local stateThe original bounded check succeeds in the same time windowProduction correctness outside this scope
Depth when you need it

Deep reference

Design & tradeoffs

Scope

Containers owns runtime lifecycle and local runtime state. Linux owns generic service/process/filesystem diagnosis; Kubernetes Topics own orchestration above the runtime.

Confirmation

Confirm action

Continue?