WTF is docker?
I was struggling with dependency issues when trying to run other's code on my local machine π
I was also frustrated downloading and setting up each and everything like different databases , languages etc on my pc
And their were more problems
I needed an isolated environment as much isolated as I am! In which I can run different processes
Then I found docker! Btw what is docker and why its so widely used?
Docker is a software in which you can pull images and run it in the container isolated from the system
Sounds confusing?
Let me break it down:
You can think of image as few files which a container needs to run a particular thing like a nodejs server.
A container is a process running on our system in which these files are run isolated from all other processes
It is much more resource effecient than a virtual machine (virtual machine is basically running another operation system inside your operating system)
What are its use cases:
- You can run python, nodejs code or use any database etc without actually setting it up on your system
- If someone wants to run your code they can run it with ease without worrying about dependency conflicts inside a container
Their are plenty more use cases
#docker #coding #programming #kubernetes #containerization #shorts
If you want to dive deeper into it I'll attach link to its docs in the comments , you can see it from their