3 ms·
There are LXD images for Ubuntu, CentOS, Gentoo, Plamo, and other Linux operating systems. So you can really boot most any Linux as you would a VM. Between that
by marcoceppi 11y ago
There are LXD images for Ubuntu, CentOS, Gentoo, Plamo, and other Linux operating systems. So you can really boot most any Linux as you would a VM. Between that and it's use as a hypervisor in OpenStack it gets flexed pretty heavily. Though I agree, more people should be using it!
- tyingq 11y agoLxc itself is a bit hobbled on distros other than Ubuntu if you want unprivileged containers or containers running systemd based distros. https://www.flockport.com/lxc-and-lxd-support-across-distributions/ https://www.flockport.com/lxc-and-lxd-support-across-distrib... LXD is more often associated with a VPS style container, versus docker style containers. So, at the moment, it does have a distinctly "only runs right on Ubuntu" feel.
- marcoceppi 11y agoThat article is almost a year old now. Considering Wily and Xenial are systemd based I'm going to assume the LXD/LXC folks have figured this out. As for your last comment, yeah these are system containers - lighterweight virtual machines and not docker containers. They're meant to replicate and entire machine, with an init, more attuned to a VPS/VM and not an application container.
- tyingq 11y ago>>That article is almost a year old now. Not much has changed, at least as far as running LXC/LXD using something other than Ubuntu as the host os. Not LXC's fault exactly, just the underlying set of requirements, kernel/systemd/etc patches, assuming you want the unpriv containers and systemd based containers to run. Technically, you could find and apply all of those to Debian, Redhat, whatever, and use them as the host OS, but it wouldn't be a trivial effort.
- ergo14 11y agoI used lxc containers with ubuntu 12.04 on a Debian host ;-)
- tyingq 11y agoYou apparently didn't need unprivileged containers and/or a guest os that uses systemd. And it sounds like you didn't need lxd. Edit: Or you did, and you figured out how to replicate all the needed changes back to Deb.