What is Docker

DOCKER: D ocker is a tool to run the Application in an isolated environment. Which is used to create, deploy, edit, and run the application ...


Docker is a tool to run the Application in an isolated environment. Which is used to create, deploy, edit, and run the application as a container.

 Configure the docker once and use it anywhere, It is like a virtual machine.

Containers Vs Virtual machine:

            Containers are isolated from others and bundle their own softwares, libraries, and configuration files, packages, Containers are run above the OS(operating system),

So no need for an Extra OS or application.  

            Run the multiple containers in the same machine and share the kernel with other. 

            Containers use less space compared to virtual machines.

It will manage the system memory automatically. So no need to worry about memory management.

VM(virtual machines) used to run the multiple operating systems in the same infrastructure using the hypervisor.

Each virtual machine takes much space from the server or infrastructure so memory and usage get slow. 

virtual machines were bulk in size, running the multiple virtual machines leads to unstable performance, the boot-up process usually takes a long time.                                                                                                                                                                                                                                      Docker has three main and essential parts.

1.Docker File,




   Docker file is a Text file and it contains a list of steps and commands executed to build a docker image. 


    It has a template to create an environment or docker containers.

        A Docker image is made up of a collection of files that bundle together all the essentials, such as installations, application code, and dependencies.

Creating the Docker image have two types:

Interactive Method: In this method running the container by using the existing docker image and manually changing the container's environment and running in the container is one type.

Dockerfile Method: In this method need to create the docker file and create the docker image from the docker file.


Containers are the final stage for docker, Container contains the combination of image code,repositories. This can be used to build a development application as well as a production application with the same time frame without configuring the new configuration.

            Docker containers are used to reduce the time.

Container Registries:

Container registries are the storage place and it is called repositories.

            Using the registries to pull and push container images.

Three main registries in docker:

Docker Hub:

Docker hub is the official docker image storage location of Docker and it stored more than 10000 container images shared by software vendors, Docker users. Anyone can also use the docker hub service to host, manage their own images.

Third-party registry services: Fully managed offerings that serve as a central point of access to your own container images, providing a way to store, manage and secure them without the operational headache of running your own on-premises registry.

Examples of third-party registry offerings that support Docker images include Red Hat Quay, Amazon ECR, Azure Container Registry, Google Container Registry.

Self-hosted registries: A registry model favored by organizations that prefer to host container images on their own on-premises infrastructure.

Self-hosted registries are used for security, compliance, or lower latency requirements.

Install the Docker:

Installing the Docker image on centos7

Step1: To install the docker Epel repositories must be enabled.

Command; yum install epel-release Command: yum install docker-io

Step2: Install the docker in the local machine using yum. .Cmd: yum install docker
Step 3.after install docker start service and enabled.
Cmd: systemctl start docker
Cmd: systemctl status docker
cmd: systemctl enable docker
Step4.After that run a container test image is it docker working properly or not.
Cmd: docker run hello-world It shows "Hello from Docker. This message shows that your installation appears to be working correctly."
Step5.basic commands for docker Command: docker info         Command: docker version


                                                                                                                                                            ------------------------------------------!!!Happy Learning With Techiev!!!! -------------------------------------


Techie View: What is Docker
What is Docker
Techie View
Loaded All Posts Not found any posts VIEW ALL View Full Article Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy