DEV Community

Discussion on: Hi I'm Vinay, a SRE who likes to help people solve problems. Ask Me Anything!

ajinspiro profile image
Arun Kumar

Hi Vinay,
I've been curious about Docker. I can't figure out if Docker is not Virtual Machine, then why it needs Hyper-visor to run ? Hyper-v is a virtual machine supporting hardware, isn't it ?

vinayhegde1990 profile image
Vinay Hegde Ask Me Anything • Edited on

Docker doesn't need hypervisor to run but relies on the Host OS for its functionality.

This is because Docker Containers consist of only essential binaries & dependencies to be executed.

By that definition, many containers of the same/different application can share the same OS kernel & run independently.

Hypervisor is an interface used by VM OSes to work with hardware.

Hoping this helps!