LOGBOOK

HELP

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.

Docker architecture: client sends commands over the REST API to the root daemon on the host, which builds images, runs containers and pulls from the registry

* Client, daemon on the host with its images and containers, and the registry. *

Go deeper:

From Quiz: ISLAB / Docker Introduction | Updated: Dec 01, 2026