advancedTop 100 Interview Questions

What is the role of containerd and runc in the Docker architecture?

containerd is a daemon that manages the container lifecycle (pulling images, managing storage, supervising execution) and sits between the Docker daemon (dockerd) and the low-level runtime. runc is the actual OCI-compliant low-level runtime that creates and runs containers using namespaces/cgroups directly. dockerd delegates to containerd, which delegates to runc for each container.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to What is the OCI, and why does it matter?← Back to all Docker questions