0% found this document useful (0 votes)
10 views4 pages

Docker Research

Docker is an open-source platform that enables developers to build, ship, and run applications in containers, ensuring consistency across development, testing, and production environments. It consists of three main components: Docker Engine, Docker Images, and Docker Containers, which facilitate the management and deployment of applications and their dependencies. Docker is widely used in DevOps and software deployment for its ability to simplify complex application stacks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

Docker Research

Docker is an open-source platform that enables developers to build, ship, and run applications in containers, ensuring consistency across development, testing, and production environments. It consists of three main components: Docker Engine, Docker Images, and Docker Containers, which facilitate the management and deployment of applications and their dependencies. Docker is widely used in DevOps and software deployment for its ability to simplify complex application stacks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

🚢 What is Docker?

Docker is an open-source platform that helps you build, ship, and run applications inside
containers.

Think of a container like a lightweight, standalone package that includes everything your


application needs to run:​


Code​


Runtime (like Python, Java, Node.js, etc.)​


System tools​


Libraries​
Settings

With Docker, your app will run the same way in development, testing, and production — no
more "it works on my machine" issues!

🐳 Docker – A Complete Overview


🔍 Introduction
Docker ek open-source tool hai jo developers ko application aur unke dependencies ko
container ke andar pack karne, distribute karne aur run karne mein help karta hai. Ye tool mainly
DevOps aur software deployment ke world mein bahut popular hai.

Docker ki madad se aap complex application stacks ko bhi easily set up aur manage kar sakte
ho.

⚙️ How Docker Works?


Docker system mainly 3 components par kaam karta hai:

1. Docker Engine

●​ Ye ek client-server architecture hai.​

●​ Docker Daemon (dockerd): Background process jo images, containers, networks, etc.


ko manage karta hai.​

●​ Docker Client (docker): Command line interface (CLI) jisse aap daemon se interact
karte ho.​
●​ REST API: Docker ke saare operations ko programmatically perform karne ke liye.​

2. Docker Image

●​ Ye ek read-only template hoti hai jisme application aur uska environment hota hai.​

●​ Images layer-based hoti hain, jo space-saving aur fast deployment ke liye helpful hoti
hain.​

3. Docker Container

●​ Ek lightweight, isolated environment hai jo image ke base par banaya gaya hota hai.​

●​ Har container ke paas apna file system, network, aur resources hote hain, lekin host
machine ke kernel ko share karta hai.

+--------------------------+

| Docker CLI (User) |

+------------+-------------+

+--------------------------+

| Docker REST API |

+------------+-------------+

+--------------------------+

| Docker Daemon |

| - Image Management |

| - Container Lifecycle |

+------------+-------------+
|

+--------------------------+

| Containers & Images |

| (Isolated Environments)|

+--------------------------+

Command Descriptio
n

docker build -t Build image from Dockerfile


myapp .

docker List all images


images

docker run -d -p 3000:3000 Run app in detached


myapp mode
docker List running containers
ps

docker stop Stop


<container_id> container

docker exec -it <id> Open shell inside


bash container

docker-compose Run multi-container app


up

docker pull Download image from Docker Hub


<image>

You might also like