Skip to main content

Docker

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

Popular posts from this blog

System Design Vs System Architecture

System Design Vs System Architecture System design and system architecture are closely related concepts but they refer to different aspects of creating and managing a system.  Here’s a breakdown of the differences between the two: System Architecture Definition : System architecture is the conceptual model that defines the structure, behavior, and more views of a system. It provides a high-level view of the system, outlining its major components and their relationships. Focus Areas : Components and Modules : Identifying the major components or modules of the system. Interactions : Defining how these components interact with each other. Technology Stack : Choosing the appropriate technologies and platforms. Standards and Protocols : Deciding on the standards and protocols to be followed. Scalability and Performance : Ensuring the system can handle growth and performs well under load. Security : Incorporating security measures at a high level. Output : Architectural diagrams (e.g., s...