Portability, isolation, the ability to run pretty much anything inside. They do consume more resources, but if they’re that much slower then there’s probably something wrong in your setup.
Comment on Selfhosting Sunday - What's up to date, selfhosters?
azron@lemmy.ml 16 hours agoI find VMs to BR unbearably sloe compared to a container. They just feel so heavy. I get the extra security layer, is that really why people are doing it or is there some other reason?
McMonster@programming.dev 15 hours ago
frongt@lemmy.zip 12 hours ago
Not everything runs in a container.
deadcade@lemmy.deadca.de 15 hours ago
Being able to choose the OS and kernel is also important. I would not want my hypervisor machine to load GPU kernel modules, especially not on an older LTS kernel (which often don’t support the latest hardware). Passing the GPU to a VM ensures stability of the host machine, with the flexibility to choose whatever kernel I need for specific hardware. This alongside running entirely different OSes (like *BSD, Windows :(, etc) is pretty useful for some services.