Docker
Docker is one of the most important tools in modern DevOps. It allows teams to package applications and their dependencies into containers that run consistently across different environments. This reduces environment drift and makes shipping software much easier.
Key Concepts
Docker images are immutable templates used to start containers.
Containers are lightweight isolated processes sharing the host kernel.
Volumes are used to persist data outside the container lifecycle.
Docker networks allow communication between containers and external systems.
Common Interview Questions
What is the difference between a Docker image and a container?
What is the difference between CMD and ENTRYPOINT?
Why are Docker volumes important?
Use Case
Use Docker to create consistent environments across local development, CI pipelines, and production.
Common Use Cases