What is Docker ?

Vipul Vyas
3 min readSep 16, 2021

--

Hi Guys, Today Let’s learn about Docker.

Docker

Docker is an open source platform for building, deploying, and managing containerized applications. Let’s break this, Docker is open source platform means Docker’s source code is publicly available and anyone can inspect, modify, and enhance it. With docker you can do easily build, deploy and manage to containerized applications. Containerized Applications means application which is a single executable package of software that bundles application code together with all of the related configuration files, libraries, and dependencies required for it to run. Containerized applications are “isolated” in that they do not bundle in a copy of the operating system.

Why Docker ?

1 — Docker solved Dependency problems. Suppose you have two application in that both is using same technologies but in that one application need to upgrade because of some dependency and we can not change version or upgrade that technology right now because second application is breaking due to some dependency.

2 — Scaling application. Yes so, you may be thinking about virtual machine, create virtual machine(VM) and deploy first application in VM but we know that we need to give memory size to VM. with VM problem is memory so is there any technology which use internal memory and also scale it by itself so when application has more traffic then it use more memory and if application has less load then it use less memory. That time Docker come into picture .

3 — Upgrade Application. Some time you are doing some changes in application and you need to deploy for customer and for this changes some customer want that changes and some not this happen lots of time I also seen many time. With Docker you can deploy both application with versions of application. let say version1 and version2, now just need to change the request of customer who want version2 (new changes) to new application or on version2 application.

Let’s understand docker with ship container example. in ship what happen for transportation you can put container for different different goods and you can put more goods then without contained ship right because you can put container on container but you can’t put goods on goods. so, same with our case ship is our main machine and with the help of docker we can create container for different application which share memory of our main machine.with container you can easily put, manage goods as well by putting mark that this container contain this goods and xyz information. same with docker we can build, deploy and manage application. I hope now you are clear with docker’s picture and you can imagine this in your mind, it will help to understand things. :)

https://www.freightwaves.com/news/big-ocean-ships-equal-big-problems-but-small-benefits

I hope now it’s clear that what is docker and why we should use docker. In next we will learn how to run and create docker image with example.

Happy Learning ( -_- ) …

Part 2

--

--

No responses yet