Quiz Entry - updated: 2026.12.01
What are the components of a Docker environment, and what does each one do?
The client (the docker CLI) sends commands to the daemon on the Docker host, which builds and runs images and containers and pulls from or pushes to a registry.
| Component | Role |
|---|---|
| Client | The docker command (or any tool using the remote API). It does no work itself; it turns docker pull, docker container run and so on into API calls. |
Docker host / daemon (dockerd) |
The background service that actually does the work: it builds images, starts and stops containers, and manages the local images, containers, networks and volumes. |
| Images | Read-only templates stored on the host. |
| Containers | Running (or stopped) instances of images on the host. |
| Registry | Central image store such as Docker Hub, which the daemon pulls images from and pushes them to. |
The client and the daemon talk over a REST API, normally through the Unix socket /var/run/docker.sock. They don't have to be on the same machine, which is why one CLI can steer a remote Docker host.
The three flows map onto the "Build, Ship, Run" idea: build an image on the host, ship it via the registry, run it as a container on any host.
* Client, daemon on the host with its images and containers, and the registry. *
Go deeper:
CBT Nuggets: What is Docker and How Does it Work? — a short introduction to Docker's architecture and components.
Docker Docs: What is Docker? — the official overview of client, daemon, registries and objects.
Wikipedia: Docker (software) — the components and their history at a glance.