4 ms·
One thing to keep in mind is lightweight containers work well for deployment (isolation), but they can't replace KVM for general virtualization tasks, as guest
by rdtsc 13y ago
One thing to keep in mind is lightweight containers work well for deployment (isolation), but they can't replace KVM for general virtualization tasks, as guest kernel has to be the same as the host OS.
If you have your hosts running CentOS and want to deploy on Windows, for example, or want to migrate some legacy server to the "cloud" this might not work well for you.
- threeseed 13y agoWhat you've described doesn't sound "general" at all. It sounds like edge cases.
- rdtsc 13y agoUsing virtualization technology to actually to abstract away hardware hardware and OS differences? How is that an edge case. Isn't that the raison d'être of virtualization. That fact that host and guest OS kernels happen to match is the edge case then (a nice one too, that can lead to good optimizations). Now deployment, isolation, repeatable test and dev environments is a bit of a different beast. So LXC works great there. The point was to avoid the conclusion that KVM is useless now in all cases, throw it away tomorrow and start using LXC.
- josteink 13y agoWould you consider it edge-cases to run Linux-instances on a Windows Hyper-V based server? Would you consider it a edge case running a Windows VM in Linux? I certainly wouldn't. Those are definitely what I call "general" virtualization cases. And as awesome as containers are, they wont be able to cover for these cases. It's definitely worth mentioning for those who are not familiar with the matters.
- boden 13y agoAgreed -- LXC as a technology is not a silver bullet and will not cover all use cases. However for those looking to do virt with Linux distro's IMHO the need to use traditional VMs becomes the edge case moving forward. I provided some details on the gaps and use cases for traditional VMs sections here: http://www.slideshare.net/BodenRussell/realizing-linux-containerslxc http://www.slideshare.net/BodenRussell/realizing-linux-conta...
- nickstinemates 13y agoI was with you until the last bit. There are some folks having a lot of success taking apps running on old versions of centos and running them on later versions, as an example. To elaborate - Some distros / companies are planning it to be part of their upgrade strategy - i.e, containerize the application, move to <your distro of choice cough rhel 7/atomic cough> while having the userland of the previous release intact.
- Daviey 13y agoWhen security for LXC is finished, this is a perfectly reasonable option. The key in my mind is that the user shouldn't need to use or care if they are using KVM, docker/lxc or VMWare. It should be mostly abstracted by Openstack. Using Windows? lets use KVM.... Using budget compute and linux, lets use LXC.