What is the difference between KVM and LXC?
- KVM is a full virtual machine with its own kernel. You can install and configure anything – ideal for Docker, custom kernel modules or special software.
- LXC is a container. It starts in seconds, needs fewer resources and is therefore cheaper. It shares the host's kernel, so some things do not work (e.g. custom kernel modules).
For websites, bots, small services and databases LXC is usually enough. If you are unsure, take KVM.
Was this helpful?