Docker is based on a client-server architecture. Docker has three main components to its architecture:
- Docker client
- Docker daemon
- Docker registries
Let's see the following diagram of the Docker architecture:
- Docker client: It is an interface (CLI) to run the Docker commands, such as build, run, and stop. The Docker client interacts with the Docker daemon server. You can also connect the Docker client with the remote Docker daemon. It uses REST APIs to build communication between the Docker client and the Docker daemon server using Unix sockets or a network interface.
- Docker daemon: It is a process running in the background. ...