Getting started, topic 9 of 41
Docker's architecture
The docker command is a client. It sends each command over a socket to the daemon, dockerd, which manages images, networks and volumes, and hands containers to containerd, which starts them with runc.
This split explains a lot: why the CLI can talk to a daemon on another machine, why access to the Docker socket is as good as root on the host, and why Kubernetes can drop Docker and keep containerd.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- Docker architecture, in the overviewOfficial
- The Docker daemonOfficial
- containerdOfficial