Debug School

Abhilash KS
Abhilash KS

Posted on

Task 1: Docker understanding

What is Docker?
Its a container management tool which can be used to build, deploy, run, update and mange the containers. It can be used in a hardware or in a VM. It can save the time of deploying the applications, reduce the costs and enhance the quality of work.

What is Container?
Its a light weight environment which is capable of isolating the software applications. It allows you to package up the code and its dependencies so the application can be ran and managed easily. Some keywords used for managing the containers are start, stop, pause, remove etc.

How Docker work?
Docker works with the help of Docker engine.
Docker engine is the combination of docker client and docker server and the communication is possible by API calls.
The docker client talks to the docker daemon which is "containerd".

How Container work?
A container is isolated from rest of the system. All the files necessary to run them are provided from and image. These images can be custom or base image. The image is available locally and if its not available then by default it will auto check on the docker hub. A daemon (containerd) will be running on the background. An API will allows the program to interact. A CLI client issues command to manage the container (push, pull, run).

What are the components of Docker?
Docker Engine
Combination of docker client and docker server communicated with the API call.

Docker Image
To create a container an image is required and it will be a locally available one or image present in the docker registry.

Docker Registry
Its the place were the images are available in order to create a container.

Docker Containers
Its a light weight environment which is capable of isolating the software applications.

Top comments (0)