From the course: Virtualization: Configuring VMs Across Platforms with VMware, Hyper-V, VirtualBox, Vagrant, and KVM
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Virtualization versus containerization
From the course: Virtualization: Configuring VMs Across Platforms with VMware, Hyper-V, VirtualBox, Vagrant, and KVM
Virtualization versus containerization
- Virtualization is commonly confused with containerization, and that is because containers can be used a bit like a virtual machine, but they are different. So what exactly are the differences? Well, the goal of a virtual machine is to run a complete operating system. So you boot your operating system kernel and you run a complete operating system with your applications on top. The purpose of a container is to start just the application with all of its dependencies based on a standard image, and that makes containers much more efficient. A virtual machine requires more resources as it includes a complete operating system, but virtual machines are giving you a flexibility that containers don't. You can run a different operating system on top of your host and in containers, it's all the same. Let me make a drawing so that we can zoom into some of the differences between containers and virtualization. So let me show you what the difference between virtualization and containerization…