English + Hindi Version | TechWithAdi
Docker is an open-source containerization platform used to package applications and dependencies into lightweight containers.
It eliminates environment inconsistency and the 'works on my machine' problem.
Docker shares the host kernel; VMs run a full guest OS.
A read-only template used to create containers.
A running instance of a Docker image.
Image is a blueprint; container is the running application.
A public registry for storing and sharing images.
A file containing instructions to build images.
Use docker build -t image .
Use docker run image.
Persistent storage for container data.
To preserve data even if containers are deleted.
Maps a host directory into a container.
Enables communication between containers.
Bridge is isolated; Host uses host networking directly.
Exposes container ports to the host.
Tool for managing multi-container applications.
Configuration file defining services.
Docker runs containers; Compose manages many containers.
Use docker logs container.
Use docker restart container.
Packaging apps with dependencies into isolated containers.
Repository used to store images.
docker ps, logs, inspect, exec.
Docker Client communicates with Docker Daemon to manage images and containers.
Docker рдПрдХ open-source containerization platform рд╣реИ рдЬреЛ applications рдФрд░ dependencies рдХреЛ lightweight containers рдореЗрдВ package рдХрд░рддрд╛ рд╣реИред
рдпрд╣ environment inconsistency рдФрд░ 'works on my machine' рд╕рдорд╕реНрдпрд╛ рдХреЛ рджреВрд░ рдХрд░рддрд╛ рд╣реИред
Docker host kernel share рдХрд░рддрд╛ рд╣реИ, рдЬрдмрдХрд┐ VM рдкреВрд░рд╛ guest OS рдЪрд▓рд╛рддреА рд╣реИред
Container рдмрдирд╛рдиреЗ рдХреЗ рд▓рд┐рдП рдЙрдкрдпреЛрдЧ рд╣реЛрдиреЗ рд╡рд╛рд▓рд╛ read-only templateред
Docker image рдХрд╛ running instanceред
Image blueprint рд╣реИ, container рдЙрд╕рдХрд╛ running version рд╣реИред
Images store рдФрд░ share рдХрд░рдиреЗ рдХреА public registryред
Image build рдХрд░рдиреЗ рдХреЗ instructions рд╡рд╛рд▓реА fileред
docker build command рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░реЗрдВред
docker run command рд╕реЗ container рдЪрд▓рд╛рддреЗ рд╣реИрдВред
Container data рдХреЗ рд▓рд┐рдП persistent storageред
Container delete рд╣реЛрдиреЗ рдкрд░ рднреА data рд╕реБрд░рдХреНрд╖рд┐рдд рд░рд╣рддрд╛ рд╣реИред
Host directory рдХреЛ container рдореЗрдВ map рдХрд░рддрд╛ рд╣реИред
Containers рдХреЗ рдмреАрдЪ communication рдХреА рд╕реБрд╡рд┐рдзрд╛ рджреЗрддрд╛ рд╣реИред
Bridge isolated рд╣реЛрддрд╛ рд╣реИ, Host рд╕реАрдзреЗ host network рдЙрдкрдпреЛрдЧ рдХрд░рддрд╛ рд╣реИред
Container ports рдХреЛ host рдкрд░ expose рдХрд░рддрд╛ рд╣реИред
Multi-container applications manage рдХрд░рдиреЗ рдХрд╛ toolред
Services define рдХрд░рдиреЗ рд╡рд╛рд▓реА configuration fileред
Docker container рдЪрд▓рд╛рддрд╛ рд╣реИ, Compose рдХрдИ containers manage рдХрд░рддрд╛ рд╣реИред
docker logs command рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░реЗрдВред
docker restart command рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░реЗрдВред
Application рдФрд░ dependencies рдХреЛ isolated container рдореЗрдВ package рдХрд░рдирд╛ред
Images store рдХрд░рдиреЗ рдХреА repositoryред
docker ps, logs, inspect, exec рдЖрджрд┐ред
Docker Client, Docker Daemon рд╕реЗ communicate рдХрд░рдХреЗ images рдФрд░ containers manage рдХрд░рддрд╛ рд╣реИред