Q3
Can you walk me through the low-level container runtime stack (runc, containerd, CRI-O)? What actually happens under the hood when 'docker run' executes?
💬Answer
Docker does not run containers directly; it delegates execution to specialized runtimes:
- dockerd: The high-level daemon that manages API commands, networks, images, and builds.
- containerd: A CNCF graduated project that manages the container lifecycle (transfers images, manages storage, supervises execution).
- runc: The low-level runtime that communicates directly with the Linux kernel to configure namespaces and cgroups, starts the container process, and exits.
- CRI-O: A lightweight alternative to containerd designed specifically for Kubernetes (CRI compliant) to run containers directly via runc.
Related Docker Questions
View All DockerQuestions →Q1
How would you explain the difference between a container and a virtual machine to someone new to DevOps?
Q2What is Docker, and what specific advantages does it bring to the software development lifecycle?
Q4# Execution flow of `docker run`:
Q5How does Docker use Linux namespaces to isolate container processes?

Created by
Apurv Gujjar
DevOps & Cloud Engineer
Specialized in:DevOpsAWSGCPKubernetesTerraformDocker
View Portfolio