Answer the question
In order to leave comments, you need to log in
Where is it appropriate to use LXC/LXD?
I did not see LXD hosting, or rather there was one and that somehow strange.
For containers there is OpenVZ, for virtual machines KVM, VMware, Hyper-V.
Does anyone use LXC/LXD in its purest form, not Docker? Where are you using it?
Answer the question
In order to leave comments, you need to log in
LXC is convenient to use for decoupling from the host OS, as a modern analogue of OpenVZ (OpenVZ is outdated, because it is not supported by new kernels and distributions). We used LXC to virtualize Linux services. LXC is much more resource efficient than KVM.
LXC inside is more like a virtual machine than Docker. In LXC, almost all familiar tools work as usual. But isolated from the host system. You can install packages, change settings etc, run daemons and use standard Linux environment tools, etc. For LXC, you can pull up distribution-specific templates. For example, on a host with Ubuntu, raise a guest with Centos. If desired, the guest can be kept on a virtual disk.
More about the difference between LXC and docker is written here: https://vps.ua/blog/docker-and-linux-containers/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question