Interview Prep/Docker/Runtime Stack, OCI & Registries

What is the architecture of Docker Engine?

IntermediateConceptRuntime Stack, OCI & Registries
Answer

The docker CLI talks REST to dockerd, which manages images, networks, volumes and builds. dockerd delegates container lifecycle to containerd, which uses a containerd-shim per container and an OCI runtime (runc) to create it.

flowchart LR
  CLI[docker CLI] --> D[dockerd]
  D --> C[containerd]
  C --> S[containerd-shim]
  S --> R[runc]
  R --> P[container process]
All Docker questions Roadmap: Docker & containers

More on Runtime Stack, OCI & Registries