Docker vs. Virtualization

If you are a system administrator or an IT operations professional dealing with virtual machines and cloud deployments, you would have definitely heard of Docker. In the recent past, Docker has generated a lot of interest in the industry. Some articles and commentary has even positioned Docker as the hypervisor killer, which could be a potential threat to VMware, Citrix and Microsoft. While it has a long way to go before replacing the hypervisor, Docker does solve some real world problems that developers and operations professional often deal with.
Docker is a management and deployment tool for Linux containers. Container virtualization takes advantage of certain Linux features like chroot, namespaces and layered file system.
libcontainerVMs typically emulate x86 system. They share the hardware of the host machine. Each VM is independent of the other. In Docker, each unit of execution is called a container. They share the kernel of the host OS that runs on Linux.
The role of a hypervisor is to emulate underlying hardware resources to a set of virtual machines running on the host. Hypervisor exposes CPU, RAM, network and disk resources to the VMs. Each VM lives in an illusion that it has the dedicated access to the hardware. This brings a level of isolation among the running VMs. If hypervisor provides machine-level virtualization, container technology provides OS-level virtualization. If VMs share the same hardware of the host, the containers share the underlying kernel of the host. Like hypervisor, Docker provides basic management of containers.
The workflow and the life cycle of managing the logical units of execution is the same between virtualization and Docker.
Below is a quick comparison of virtualization with Docker.
VM_Docker
 

Written by

Janakiram MSV heads the Cloud Infrastructure Services at Aditi Technologies. He contributes to cloud related articles on YourStory.com. A former employee of Microsoft and Amazon, Janakiram built a cloud consulting company that recently got acquired by Aditi Technologies. He is an analyst with Gigaom Research contributing to the Cloud related market research and analysis. He can be reached at jani@janakiram.com.

Related Posts