Docker Architecture
Docker runs on a client-server model. The client may talk to the Docker host locally or remotely. There are three major components:
Docker Client — the command-line interface through which you issue instructions. The client makes API calls to the daemon; it does no container work itself.
Docker Daemon (Docker Engine) — the process that actually executes those instructions, whether pulling an image, building an image, or running a container. It manages containers, local images, networks, and volumes.
Docker Registry — the store for images. The default public registry is Docker Hub. You can push your own images there as public or private repositories, or run a private registry such as Nexus, JFrog Artifactory, Amazon ECR, or Google Artifact Registry.
The resolution order matters in practice: when you run an image, the daemon first looks in the local image cache, and only if it is absent does it download from the configured registry.