
The diagram below shows the architecture of Docker and how it works when we run “docker build”, “docker pull” and “docker run”.
There are 3 components in Docker architecture:
The docker client talks to the Docker daemon.
The Docker daemon listens for Docker API requests and manages Docker objects such as images, containers, networks, and volumes.
A Docker registry stores Docker images. Docker Hub is a public registry that anyone can use.
Let’s take the “docker run” command as an example.
The diagram below shows the architecture of Docker and how it works when we run “docker build”, “docker pull” and “docker run”.
There are 3 components in Docker architecture:
The docker client talks to the Docker daemon.
The Docker daemon listens for Docker API requests and manages Docker objects such as images, containers, networks, and volumes.
A Docker registry stores Docker images. Docker Hub is a public registry that anyone can use.
Let’s take the “docker run” command as an example.