Though Docker containers are sometimes referred as ‘light-weight VMs’, they are not VMs (virtual machines). Both serve different purposes, and hence one cannot replace the other.
Their underlying architecture is what differentiates Docker from Virtual machines. While VMs are based on server virtualization technology, Docker uses container virtualization. (more…)