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]
More on Runtime Stack, OCI & Registries
What is the OCI and what specs does it define?IntermediateWhat does `runc` do?IntermediateWhat is containerd and how does it relate to Docker and Kubernetes?IntermediateWhat are `ctr`, `crictl` and `nerdctl`?IntermediateWhat is CRI-O?IntermediateWhat is Docker Hub and what are its rate limits?Beginner