Skip to content

EasyConceptDocker

What is the difference between a container and a virtual machine?

What a good answer covers

A VM virtualises hardware and runs a full guest OS on a hypervisor. A container shares the host kernel and isolates processes with namespaces and cgroups, so it starts faster and is lighter, but offers weaker isolation than a VM.