Devops ♾
Devops ♾
Docker Daemon:
Listens for API requests from the Docker CLI or other tools and
executes them.
REST API:
For example:
Containers are:
Lightweight: They share the host OS kernel rather than running a full
OS, saving resources compared to Virtual Machines (VMs).
Example Workflow:
Workflow:
2. Tag the image for the registry: docker tag my-app username/my-
app:latest
Network Modes:
The containers can now communicate with each other using their
container names (web-server, db).
2. Resource Efficiency:
Containers share the host kernel, consuming less CPU and memory
than Virtual Machines, which require an entire OS for each instance.
3. Scalability:
4. Ease of Collaboration:
🔗 Analogy
Docker Images are like blueprints for a building.
Docker Containers are the houses built from those blueprints, running
in isolation.