Docker Introduction
Docker Introduction
Agenda
• Since each VM includes an OS and a virtual copy of all the hardware the OS requires,
VMs require significant RAM and CPU resources.
• VMs incur a lot of overhead beyond what is being consumed by your application logic.
• Since each VM has its own dedicated OS, License cost is involved.
Containers
VMs
Virtualization Containerization
• Method of Hardware level Virtualization • Method of OS level Virtualization
• Each VM needs dedicated Guest OS • Containers share container image
• Larger in size • Smaller in size
• Dedicated Kernel • Share the Host kernel
• Each VM will have its own Libraries and • Share relevant Libraries and Binaries
Binaries
• Longer boot process • Shorter boot process
• Takes more time for creating • Takes seconds
• Consumes more resources • Consume less resources
• Migrating virtualized application is • Migrating Containerized application is much
challenging due to hardware incompatibility easier
schedule.
• Solutions:
• Docker SWARM
• Kubernetes
• RANCHER
• OpenShift