I am trying to get a more solid grip on VM’s, docker etc. And if I understand it correct, when using VM’s they can not share a CPU core. So the number of VM’s you can run is effectively limited by the number of cores you have in your computer. Is this correct?
If you instead use Docker, they share the resources just like any other programs running on a computer (or a single VM). The downside is that it seems a little more complicated to me to use Docker. Especially the networking part of it.
I have a server that I am setting up right now. It is an i5 quad core with 8GB RAM, SSD system drive and a 2 x 4 TB drives in a mirror config.
So far, I have loaded OpenMediaVault on it, Docker and Portainer. I have managed to set up PiHole and got it on a different network address using macvlan. To be honest, I think that is much more complicated than it really needs to be… The next project is to get NGINX proxy going and set up Let’s Encrypt. Then get NextCloud running. The traffic on the server will be pretty low.
But it would be great to see a video doing a little comparison explaining similarities and differences. Also, more about the networking for Docker, and especially macvlans would be great!