Containerization
Contents
Containerization vs VMs: An Application Dependent Choice
Containers mimic an OS (Cloud Apps)
- runs on top of phyiscal server + OS
- virtualizes OS only
VMs mimic dedicated hardware, managed by hypervisor (Legacy systems)
- runs on top of a physical server
- need different OS'
Hypervisor
May create multiple VMs
Docker Images
Anatomy
A Dockerfile is a simple text file with instructions and arguments. Docker can build images automatically by reading the instructions given in a Dockerfile.
Kubernetes vs Docker
- Docker: a containerization platform and runtime
- Kubernetes: platform for running and managing containers from many container runtimes (including Docker)