What is Docker ? Explained in an Easy, Quick and Simple Way

 

Have you heard of Docker?  Do you know what it is or why it is used? Don't worry, Today you'll learn about What is Docker ? Explained in an Easy, Quick and Simple Way. So let's start:

What is the problem that Docker resolves?


What is Docker ? A Beginner's Guide


There is a major problem that almost all developers face which is that whenever you build a project ( here we are talking about large-scale projects) it works absolutely fine on your machine but as soon as you move that project into your friend's computer or onto the server then the working or performance or optimization of your project decreases. Some uncertainties are like maybe your images are not loading correctly or there are glitches in the workflow of the project. So, in layman terms "the code works on my machine". So Docker was made to resolve this problem of "the code works on my machine"

Docker

Docker allows you to wrap up your code in containers which are portable. Now if you place that container on any platform maybe on a server or a friend's PC these containers make sure that the code inside it works exactly the same as if it were to run on your machine. So these containers are the heart of Docker. A docker container can store your code, configurations, dependencies, networking information or even the processes that you are running.

So to summarize Docker:

  1. It is a client side application. So you can just install it and perform all kind of operations on the containers and move these containers anywhere.
  2. It also acts as a service and it can be deployed on any server so that you can take your container from that server and deploy on any platform. It can also acts as a social networking platform , you can share your docker image and whenever someone wants to start at given checkpoint the they can start from that point.
  3. Docker is a company that manages all these things for you.

So, that was all and I hope the gist of Docker is clear to you now. Thanks for reading !!!

Post a Comment (0)
Previous Post Next Post