Docker Components

 Docker Components


In this article we are going to see about Docker Components. which more important that you have to know about these thing to move further. Let's see some important docker components.




Docker Daemon/Docker engine/Server: 

Docker daemon runs on the host operating system. It is responsible for running containers to mange docker services. Docker daemon can communicate with other daemons.

Docker client:

Docker users can interact with docker daemon through a client. Docker client uses commands and Rest API to communicate with the docker daemon. When a client run any server command on the docker client terminal, the client terminal send these docker command to the docker engine. It is possible for docker client to communicate with more than one daemon.

Docker Host:



Docker host is used to provide an environment to execute and run applications. It contains the docker engine, images, containers, networks and storages.

Dockerfile:

Dockerfile is basically a text file that contains some set of instruction to create automate docker image.

Docker Hub/ Docker registry :

Docker registry manages and stores the docker images. There are two types of registries in the docker.

Public registry: It is accessible for everyone, and all the images are public registry.
Private registry: It is accessible for enterprise user, and it is paid service.

Docker images:

Docker images are the read only binary templates used to create docker containers. Single file with all dependencies and Configuration required to run a program. How many ways to create an images?
Create image from Docker file.
Create image from existing docker containers.

Docker Container:

A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings. 
Container hold the entire packages that is needed to run the application. In other way, we can say that the images is a template and the container is a copy of that template. Container is like a virtual machine. Images becomes container when they run on  Docker engine.

Share:

0 comments

Please leave your comments...... Thanks