LXD uses QEMU/KVM/libvirt for VMs thus the performance is at least the same as any other QEMU solution like Proxmox, the real difference is that LXD has a much smaller footprint, doesn’t depend on 400+ daemons thus boots and runs management operations much faster. The virtualization tech is the same and the virtualization performance is the same.
Maybe I’m just doing it wrong. I’ve just found LXD to be lacking as you can’t live transfer it to a different host. It is also slower than Docker and Podman and I was unable to get docker running in a unprivileged LXC container. I think it should be possible to run docker in LXC but by the time I spend the effort is is more secure and easier to use a full virtual machine.
Maybe I should revisit the idea though as it seems like many people stand by it.
LXD uses QEMU/KVM/libvirt for VMs thus the performance is at least the same as any other QEMU solution like Proxmox, the real difference is that LXD has a much smaller footprint, doesn’t depend on 400+ daemons thus boots and runs management operations much faster. The virtualization tech is the same and the virtualization performance is the same.
Maybe I’m just doing it wrong. I’ve just found LXD to be lacking as you can’t live transfer it to a different host. It is also slower than Docker and Podman and I was unable to get docker running in a unprivileged LXC container. I think it should be possible to run docker in LXC but by the time I spend the effort is is more secure and easier to use a full virtual machine.
Maybe I should revisit the idea though as it seems like many people stand by it.
It isn’t lacking… https://linuxcontainers.org/incus/docs/main/howto/move_instances/#move-instances but as with Proxmox there are details when it comes to containers. VMs can fully migrate live.
What host OS are you running on? Did you set
security.nesting true
on said container?I probably just set it up wrong.