PHPz2017-04-17 13:08:05
If the server’s hardware resources are sufficient, opening 5 virtual machines is not a problem.
First, install Linux on the physical machine. There are many options for installing virtual machines. Virtualbox, as everyone said, is a desktop virtual machine solution. Xenserver and ESX are too heavy. It is recommended to use KVM. The Linux kernel directly supports it and the usage efficiency will be higher. .
天蓬老师2017-04-17 13:08:05
I think CoreOS is suitable for the topic. It runs 5 Docker containers at the same time. Each container can be considered as a "lite version of Linux system".
The process running in each Docker container thinks that it monopolizes the entire system, and that is enough.
As for sharing host resources evenly, you can run a dedicated Docker container for resource monitoring.
If you want, you can also run Docker within Docker. I have done this.
ringa_lee2017-04-17 13:08:05
KVM production test: https://wiki.archlinux.org/index.php/KVM_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
巴扎黑2017-04-17 13:08:05
VM can fully meet your needs, the only problem is the loss of performance.
The best alternative is LXD, see https://www.v2ex.com/t/271712 for details