Skip to content
Free since 2015. Built for the engineers who keep things running.

cat /articles/difference-between-containers-and-virtual-machines.md

Containers

Difference Between Containers and Virtual Machines

One of the frequent questions asked about Docker is how the container different from VM (virtual machine).

medium.com29 Sept 2020 · summary

article --summary

The summary

One of the frequent questions asked about Docker is how the container different from VM (virtual machine). Containers and VMs each have their own use cases, many deployments of containers use VMs as the host operating system rather than running directly on the hardware, which provides one more additional layer of high availability in the form of Virtual Machine. If you observe the above reference diagram, the Hypervisor layer is Enabling/Supporting to create a virtual machine, and in the same fashion, Runtime is allowing to run containers on top of the Operating system. Virtual machines and containers contrast in a few different ways, however, the key difference is that containers give an approach to virtualize an OS so that multiple workloads can run on a single OS. Below workloads can run on containers: Below workloads can run on the virtual machine: At the end of the day, every organization’s business needs and infrastructure are different and requires its own unique strategy.

Editorial note: This is a summary of an article first published by medium.com. The full piece is on their site.

articles --latest

Latest articles

New from the blogs we follow and the community.

All articles

newsletter --weekly

DevOps Weekly, minus the noise.

The best reads, new jobs and upcoming events, in one email a week.