DEV Community 👩‍💻👨‍💻

Cover image for Difference between VM (Virtual Machine) & Containers
Anurag Vishwakarma
Anurag Vishwakarma

Posted on

Difference between VM (Virtual Machine) & Containers

What is a container?

Containers are lightweight software packages that contain all the dependencies required to execute the contained software application. These dependencies include things like system libraries, external third-party code packages, and other operating system level applications. The dependencies included in a container exist in stack levels that are higher than the operating system.

What is a virtual machine?

Virtual machines are heavy software packages that provide complete emulation of low level hardware devices like CPU, Disk and Networking devices. Virtual machines may also include a complementary software stack to run on the emulated hardware. These hardware and software packages combined produce a fully functional snapshot of a computational system.

Difference Between VM vs Containers

Image description


Image description

Image description

Top comments (0)

Let's Get Hacking

Join the DEV x Linode Hackathon 2022 and use your ingenuity and creativity to build using Linode.

Join the Hackathon <-