Docker Image
A Docker Image is a read-only blueprint/template used to create a Docker Container.
- Image = What to run
- Container = Running version of that image
What does a Docker Image contain?
- Application code
- Runtime (Java / Node / Python)
- Libraries and dependencies
- Configuration
- OS-level instructions
Everything needed to run the app is packed inside the image.
Docker Architecture
Docker follows a Client-Server Architecture.
Main Components
- Docker Client
- Docker Daemon
- Docker Images
- Docker Containers