Docker & Kubernetes · Module 01
Getting Started with Docker
Learn why containers exist, how Docker differs from VMs, the parts of Docker, and the basic container lifecycle.
What you will learn
- Explain the "matrix from hell" problem and how containers solve it
- Compare containers with VMs in terms of kernel, speed and overhead
- Tell images, containers, Docker Engine, registries and repositories apart
- Run, list, enter and clean up containers with the Docker CLI
Lessons
- Why Docker
Containers turn the "stack × environment" matrix into one package that runs the same everywhere.
- Containers and VMs
A VM virtualizes hardware and has its own guest OS; a container only isolates processes and shares the host kernel.
- Docker architecture and terms
The Docker CLI sends requests to the daemon; the daemon builds, pulls and runs images as containers; a registry stores and distributes images.
- Basic Docker commands
The container lifecycle — run, ps, logs, exec, stop, rm — and the flags you use most.