Sunday, 19 May 2019

What is Docker?


Docker is developed and maintained by the company Docker Inc.

Docker is used to build, deploy, and run the containers.

What goes inside the container is the application developer's responsibility. For example, you can put a web application inside a container, (or) you can put a simple shell script that prints 'Hello World' to the console.

Using docker, you can 'Package Once, Deploy Anywhere'. Create the docker image (Snapshot of certain OS + Software) and share it with other people, they can run the docker image just like that.

Docker provides an abstraction layer for your software to run on.
Docker container is hardware/software independent. Just install Docker in your system, pull the image and run.

Docker provides an isolation layer for your software to run on.
Each container is completely isolated from other containers running in the same system.


In a typical scenario, an application developer
a.   Build a docker image. This image contains the source code of the application and all the necessary dependencies required to run the application.

b.   Share the image with other developers or ship the image to a centralized repository. By default docker images are shipped to ‘hub.docker.com’

c.    Other developers get the image from the centralized repository and run the image.

Containerized applications
Applications that run inside a container are called containerized applications.




Previous                                                 Next                                                 Home

No comments:

Post a Comment