4 ms·
LXD is great. It lowers significantly the mental burden of running something in containers because they behave essentially like a VM. That being said LXD and ju
by matt_wulfeck 11y ago
LXD is great. It lowers significantly the mental burden of running something in containers because they behave essentially like a VM. That being said LXD and juju are very Ubuntu things. LXD needs wide adoption for it to be attractive as a serious workload.
- marcoceppi 11y agoThere 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.
- pekk 11y agoIf you like LXD, why can't you just use it and not care whether Redhat is using it?
- unethical_ban 11y agoMany organizations use RHEL, and individual workers cannot just spin up Ubuntu for their bank database servers.
- pekk 11y agoI guess we should all give up and only use what RHEL provides to us, then, since it is the only universally available distribution.
- unethical_ban 11y agoYour sarcasm is missing the point.
- tyingq 11y agoIn it's current state, you can't (in a practical way) run LXD on a host os other than Ubuntu. So, using LXD means migrating away from whatever host os you are using, and switching to Ubuntu. That's not trivial. Over time, as each distro catches up with the same patches/kernel version/etc choices ubuntu made, this problem will go away. For now, however, LXD means Ubuntu as the host os.