Docker Architecture has four elements – Client, Daemon, Private registry, and Hub. It takes time and laborious when Labor shifts different kinds of goods from one place to another piece by piece. For the same case, the Docker engine simplified porting of Software applications with the container concept.
Docker supports Containers, which you can use to port your code to various regions – Unit, Integration, and Live (Production) in a lesser time. These contain images (applications and their libraries), and these are executable.
Four Components of Docker Architecture.
Table of Contents
Architectural diagram of Docker.
Docker supports HTTP protocol. When you install Docker on your machine, your interaction will be with the client – to send or receive instructions.
It is a server, which receives instructions from the Docker client. You cannot directly interact with it. In the diagram, it has shown with a two-way arrow (so the server receives and sends responses to the client). The communication will be with the HTTP protocol.
It stores Docker images, which contain libraries to run an application. You can call the images snap-shot ( read-only code). With the image, you can create a container, which is executable, and you can modify the code. Check out what is Docker image?.
It is a public registry, which is maintained by Docker inc. You can find a lot of preinstalled images, which a user can pull and do the experiment, and modify. The communication between Docker Hub and Daemon will be through the HTTP protocol.