What is Docker 🐋 ?
-
What is Containerization & Why?
The Problem
When you develop a application, It may work fine on your PC or Laptop. But when you going to deploy it, Sometimes It will not work properly in production or others computer.
Reasons
Version Problems
Missing Dependencies
Other programs may disturb yours.Because everything is on same server/PC.
Solution
To solve this issue, Developers uses a technology called
Containerization
.Containerization
Containerization is a lightweight alternative to full machine virtualization that involves encapsulating an application in a container with its own operating environment. This provides many of the benefits of loading an application onto a virtual machine, as the application can be run on any suitable physical machine without any worries about dependencies.
It means, Each and every application / services can work on dedicated environment is same machine (Like Virtual Machine But Not Exactly).
Just Image a
Container & Ship
. The stocks are packed into containers. And each containers are locked and shipped. The actions inside container will not effect the ship. Because container is protecting/separating outside.Just Like that, Imagine you computer as a
ship
. Now you can create a separate container forDatabase
, separate container forApp
, separate container forCache
and so on. And you can deploy all together in yourship
(Computer).So each services can run independently, If any service occurs, It will not effect your server.
What is Docker?
Docker one of the most famous containerization tool, use by Software Engineers. It allows you create, maintain & deploy containers easily.
Virtualization vs Containerization
-
Nice explanation bro 😍😍
-
Great bro. this is a simplest docker explanation i ever seen
-
@dev_lak thx bro
-
This post is deleted! -
@b6 good job.
-
what a nice post. thanks B6 your a amazon guy.
-
@root Thx bro
-
@Dinush Thank you
-
@lkdev ❤❤❤
-
@b6 awesome macho.
-
@keethan Danku :)
-
Good job @b6, Nice explanation
-
@ciaompe Thank you :)
-
Nice explanation, Thank you
-
@prabodhana You are welcome :)