4 ms·
LXD is a framework around LXC. It works better with running a full os in a container than docker does. Docker can't, for example, boot and run a recent unmodifi
by tyingq 9y ago
LXD is a framework around LXC. It works better with running a full os in a container than docker does. Docker can't, for example, boot and run a recent unmodified Ubuntu distro, due to issues with dbus and systemd. LXD/LXC can. And it can do it with non-priviledged containers.
It's probably more apt to compare it to Proxmox, Virtuozzo, or VMware, but leveraging containers instead of a hypervisor.
- cookiecaper 9y agoProxmox and Virtuozzo both primarily operate on containers; Proxmox uses LXC and Virtuozzo uses OpenVZ. With things like kernel same-page merging, LVM thin storage pools, and memory ballooning, the difference between "containers" and "VMs" is reducing to the point where the main difference is whether there's a software layer emulating the hardware or not. Docker is the new kid on the block, and a bonfire of billions of VC dollars can create a lot of smoke.
- mental_ 9y agoYou never disappoint. Thanks!
- njetten 9y agoFWIW: Virtuozzo is the commercial name for OpenVZ (+some commercial tools) and both use the same (their own) implementation for doing cgroups/namespacing
- tyingq 9y agoYes, I probably could have worded it better...the "but" was meant to apply to VMware. Proxmox does both hypervisors and containers though...I wouldn't say primarily containers. But that is a better crowd to specifically compare LXD to, rather than docker. You can mess about and create a docker image to run a full OS, and you can also get LXD/LXC to work for docker use cases. But, you're swimming upstream in doing so.