Docker Architecture


Docker is open platform for developing, shipping and running applications. Docker enables you to separate your applications from you infrastructure/hardware. We can quickly be shipping, testing and deploying code on Server.

Docker Architecture:
Docker uses a client-server architecture. The Docker client and daemon can run on the same system ot we can connect a docker client to a remote Docker daemon.
The docker client and daemon communicate using a REST API, OVER UNIX Sockets or network interface.
Docker Daemon: Docker(dockerd) Object manages images, containers, network and volumes. A daemon can also communicate with other daemons to manage Docker Services.
Docker Client: Docker Client (docker) is the primary way that many Docker Users.When you use commands such as "docker run" this client sends these commands to dockerd and this command uses the Docker API. The Docker client can communicate with more than one daemon.
Docker Registries:
A docker registry store Docker images. Docker HUB and Docker Cloud are public registry that anyone can used. we can run our private registry.


Docker objects:
When you use Docker, you are creating and using images, containers, networks, volumes, plugins, and other objects

IMAGES:
An image is a read-only template with instructions for creating a Docker container.we can create own images or you might only use those created by others and published in a registry.

CONTAINERS :
A container is a runnable instance of an image. You can create, start, stop, move, or delete a container using the Docker API or CLI.

No comments: