Traditional Culture Encyclopedia - Traditional festivals - How to compare docker container and virtual machine

How to compare docker container and virtual machine

How to compare docker container and virtual machine

The subject should not know what docker means, but deny these technical advantages. I tried to analyze the meaning:

1, fast startup only affects the user experience in most cases, but it is still of great significance for the operation and maintenance responsible for large-scale deployment. It makes a big difference whether something is online for a day or an hour.

2. High resource utilization means that virtualization will consume more resources than containers. Not exactly. After the virtualization layer, only 90% of resources are reserved for users, while 99% of containers can be left behind. Intuitively speaking, the meaning of the cloud is to save money.

3. The significance of performance overhead is that, due to the existence of virtualization layer, even if the virtual machine monopolizes all physical resources, the performance of the program running in it is still slower than that of the physical machine. In this respect, cpu memory is better, and peripherals such as storage will be worse. A container is just a process, and its performance is similar to that of a physical machine. Ordinary users don't feel anything, and users who require a little higher will have problems.