Monday, November 2, 2020

Introduction to Docker

Docker Launched in 2013. Docker is an open source project that makes it easy to create containers and container-based apps.

Docker enables developers to easily pack, ship, and run any application as a lightweight, portable, self-sufficient container, which can run virtually anywhere.

Docker use OS-level virtualization. Docker is originally build for linux but now docker are also used in Microsoft and Mac-Os.

Docker is set of Paas (Product As A Service )  product which deliver software in packages called container. Container are isolated from one another and wrapped together own software , libraries and configuration files and they communicated through well-defined channel with each other.

Containers gives you instant application portability. A single operating system kernel run all containers so Docker need less resource than virtual machine.

Each Docker container start with docker file . Docker file included a build instruction of docker image which is easy to understand in syntax.

Docker image is portable file which includes specification for software component that container will run and how.

Once docker file is created , then it is static. Docker’s run utility is the command that launch the container.

You don’t need to build each and every image from scratch; there is Docker Hub which is Saas(Software As A Service) repository.  In this repository, you can find docker image of open source project and from software vendor.  These Saas (Software As A Service)  repositories are used to sharing and managing docker image.

If you want , you can create your own docker image and share it publicly or you can download container image.

The Client-server technology that creates and run containers is Docker Engine. Docker engine is core of Docker. The Docker engine is software which host the container.

There are two types of Docker Engine : Docker Engine Enterprise and Docker Engine Community.

Docker is simplifying process of developing and testing multi-container application.

Advantages of Docker Container  : Docker container enable isolation and throttling , portability , compos-ability . Docker Container ease orchestration and scaling.

Now-a-days , its says that Docker does has a serious competitor which is Kubernetes .Kubernetes is the container orchestrator that was developed at Google which has been donated to the CNCF and is now open source.

But Docker and Kubernetes aren’t direct competitors. Docker is a containerization platform, and Kubernetes is a container orchestrator for container platforms like Docker.

Resources : Internet and Docker.com (Home-Page )

 

 

 

 

 

 

 

 

 

 

 

 

 

Introduction to Docker