Docker architecture: CLI, daemon, API and registries
Select an icon to see what it is.
Step 6 of 6
Docker Desktop bundles it all
Docker Desktop is an app for developer machines. It bundles the engine, the CLI, Compose, Build and a graphical interface, and on macOS and Windows the engine runs inside a small Linux VM. Your docker command talks to dockerd in that VM, through a socket that Desktop forwards.
PrevNext
Docker Desktop on macOS or Windows
docker CLI runs on your computerdockerd and containerd run inside a Linux VMthe socket is forwarded, so the commands look the same
Try it yourself
Call the API by hand and see which daemon the CLI is using. You may need sudo for the curl command.
$ docker context ls$ docker version$ curl --unix-socket /var/run/docker.sock http://localhost/v1.45/containers/json$ docker pull nginx$ docker image inspect nginx --format '{{.RepoTags}}'