difference between container and Virtual machine2 min read

Prabhin Prabharkaran Administrator
DevOps Engineer

He is a Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!

follow me

difference between container and Virtual machine

As per the current industrial studies, the increase of using container application will increase by 40% by 2020. Containerisation technology have created a great revolution in IT infrastructure. Still the IT professionals are having confusion on “difference between container and Virtual machine”.

Virtual Machine

Before the generation of virtual machine, The applications are deployed in bare metal(physical server) where the increase in server processing power and capacity which leads to lack of resources availble in the sever. Thus the Virtualization concept got developed and able to solve this issue by using a software package called hypervisor.
Hypervisor is packaged program which interacts with the hardware directly and guest OS are installed in individual virtual machines. VMs with different operating systems can run on the same physical server which doesn’t depends on physical hardware. Guest OS always inteacts with Hypervisor and Hypervisor interacts hardware, thus the process happens. In this technology it’s easy to allocate resources to each Virtaul machine as per the requirement.

A hypervisor, or a virtual machine monitor, is software, firmware, or hardware that creates and runs VMs. It’s what sits between the hardware and the virtual machine and is necessary to virtualize the server.

Virtualisation techonlogy provides a variety of benefits such as ,
* cost reduction
* Mutiple applications on single server
* Server scalability
* faster server provisioning
* improved disaster recovery (DR), because the DR site hardware no longer had to mirror the primary data center.

This approch has had its drawbacks. Each VM includes a separate operating system image, which adds overhead in memory and storage footprint. As it turns out, this issue adds complexity to all stages of a software development lifecycle—from development and test to production and disaster recovery. This approach also severely limits the portability of applications between public clouds, private clouds, and traditional data centers.



Containers are one of the bi product of virtualization, the approch of technology are different. Usually the VM’s works with the Guest OS. where as in containers sits on physical server and its host OS ex: linux, windows .Each container shares the host OS kernel and, usually, the binaries and libraries, too. Shared components are read-only. Containers are thus exceptionally “light”—they are only megabytes in size and take just seconds to start, versus gigabytes and minutes for a VM.
As it called container, its easy to copy, move, scale etc.

© 2018, Techrunnr. All rights reserved.

Questions Answered
Articles Written
Overall Points

Related posts

Leave a Reply