4 ms·
Virtual machines are supported on most platforms. And gives more freedom then docker.
by z3t4 8y ago
Virtual machines are supported on most platforms. And gives more freedom then docker.
- icebraining 8y agoDocker is just setting a few kernel parameters, VMs run a full OS over the host, there's a cost to that. If you don't need the extra flexibility, there's no point. Mind that you don't need to use Docker to use containers, there's always LXD and others.
- z3t4 8y agoMany virtualization technologies use hardware acceleration supported on modern server grade CPUs. It's not like running on "bare metal" but pretty close. One use case for VM's is running obsolete software, like some old proprietary OS, it's a weird feeling when the software run 100x faster then the hardware it used to run on.
- yatsyk 8y agoVMs and containers have pros and cons. Not sure what do you mean by freedom. If I need secure isolation or non-linux guest I would choose VM, but now I use containers mostly because lightness, speed, registry and snapshots.