Translate

Total Pageviews

My YouTube Channel

Wednesday, 28 August 2019

Why One Should Use Docker? - Part 1

Docker, one of the hot topic in the market these days. Now the question is why this is hot topic in the market and what it is trying to solve.....right? Before starting with why one should use docker, i will discuss what docker is trying to solve.
            As we all know whenever we want to run any software in any OS we have to take care of dependencies and many other things and what if you missed something then you will get errors and you have fix all those missing components and re-run the installer and if something is still not installed then repeat the same procedure to fix it and re-run the installer. Traditional Software Installation workflow is like this given below:-
Docker makes this easy, to run software without worrying about software installer downloads and it's dependencies.

Lets take the Example here, I want to run an application "Redis". Steps for running this application are in traditional way:-
1. Download it from the Redis Website

2. Now if i will run the same wget command as given in the above screenshot, it's throws this error "command not found"

Now how easily you can you run same application without worrying about its installer and dependencies through Docker.
1. Install Docker
2. Open your favorite terminal this depends on OS where you have installed docker, in my case i have installed it on Windows and i have Windows Command Prompt. Now run this command:-

docker run -it redis
and My application is ready to run in just few seconds or minutes


I hope it is clear now why one should use docker.

Part 1
Part 2
Part 3
Part 4
Part 5
Part 6
Part 7

No comments:

Post a Comment