posted 4 years ago
Docker provides the microservices based architecture, but some of the disadvantages are:
-Less flexibility in the choice of OS. As multiple Docker containers run on the same underlying OS, different OS are not usable for different Docker containers. A different host has to be used to use a different OS. With virtual machines different VMs may use a different OS.
-More dependency on single OS kernel. A single underlying OS kernel is a single point of failure for the Docker containers on the OS. In comparison VMs' OS are isolated and failure of single VM OS kernel does not cause all VMs to fail.
-Docker containers provide fewer persistent storage options in comparison to VMs.