Docker Part 1: Why to use Docker?

What problem Docker is actually trying to solve?

When we try to install software on our computer, there are high chance that we might end up in some error screen.

I remember, when I tried to install Redis (a cache software, widely used in Production applications) first time on my system, I got errors and then I had to copy the error code and go to Google to check how to rectify the error.

On the Redis installation web page, it explains that just run the below command to install Redis locally. But when I tried to install it I got some errors like the below one:

And this is a never-ending loop. Sometimes we try to resolve one issue and land up on a second issue.

This is what Docker is trying to solve. It wants to make the software installation easy not just only on our personal computers but also on web servers.

If we see the role of Docker in Redis installation: we can directly run the below command and boom, we can see Redis start running in our local system just in seconds.



So in a nutshell, Docker tries to make the life of a developer very easy in terms of installing and running software without breaking our head in trying to install all dependencies manually.


Comments

Popular posts from this blog

HttpClient Part 2: Understanding HttpClientFactory in the .NET World

Demystifying AWS S3 Batch Operations: A Step-by-Step Guide

Understanding AWS KMS Keys: Simplified Guide with Use Cases and Best Practices