beginnerDocker Architecture, Engine, Daemon, Client & Registry

What is runc?

runc is a CLI tool and library implementing the OCI (Open Container Initiative) runtime specification. It is the component that actually calls Linux kernel primitives — namespaces and cgroups — to create the isolated environment and exec the container's process. It is the lowest layer in the Docker/Kubernetes runtime stack.

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 How does the Docker CLI communicate with the daemon?← Back to all Docker questions