Docker
![]() |
A Ship can transport varieties of things in a single deck. Deck is like OS and each container contains different materials (software) |
Basic Idea
Key Notes
Docker is a containerisation platform.
Containerisation means putting something within a container. Here basically running software or application within a container.
Benefits it provides:
Isolation
Container provides isolation. So applications can run in an isolated environment, preventing conflicts and providing security. It is easier to manage things in an isolated place instead of mesh of a number of things.
Easy to Ship
Container makes easier to transport things from one place to another. Same application we can ship easily in different places in different operating systems and different machines like local, cloud etc.
Motivation
Why to use docker?
Platform Independent
Without docker to run an app we need to install it or host it directly on top of an operating system (OS). Here it creates a hard dependency on that OS that is they become tightly coupled. Docker helps to decouples them and make that application platform or OS independent.
Consistency
Application developed in local can be shipped and run as it is in the same environment and with same dependencies in staging and production environment. It provides a consistent environment.
Comments
Post a Comment