VMware
A slave operating system created based on the host machine operating system.
If you need several mutually isolated applications, you need to start several virtual machines, which will consume a lot of CPU and memory.
Docker
The docker daemon replaces the slave operating system in VMware. It is a background process running on the operating system and used to manage docker containers.
The docker daemon can communicate directly with the main operating system to allocate resources to each docker container. You can also isolate containers from the main operating system and isolate individual containers from each other.
Docker creates a docker engine on the host operating system and calls hardware resources directly on the host operating system instead of virtualizing the operating system and hardware resources, so the operation speed is fast.
Recommended tutorial: docker tutorial
The above is the detailed content of What is the difference between docker and vmware. For more information, please follow other related articles on the PHP Chinese website!