Live data from Hacker News

LXD is now under Canonical

linuxcontainers.org

201–210 of 224 posts

Re: LXD is now under Canonical

#201

Very soon Microsoft will acquire Canonical for at least $40 billion. The reasons: * Ubuntu powers the overwhelming majority of Azure workloads (both customer and internal) * Nearly all Linux applications and tooling target Ubuntu first (or at the very least) * Github, VSCode. The missing piece is the actual runtime operating system. Ubuntu. * Canonical employs nearly all the remaining core enterprise open-source deve…

I may be wrong, but with Red Hat, IBM was buying all the enterprise customers, but there is not much to buy in Canonical. They seem to don't know where they want to move as a business.

Red Hat 2018 year result was $3B in revenue https://www.redhat.com/en/about/press-releases/red-hat-repor...

and Canonical's 2021 revenue was $175M https://techcrunch.com/2022/04/21/canonical-now-hopes-to-ipo...

Re: LXD is now under Canonical

#202
post #13

Stéphane Graber's work is fantastic and LXD had a lot of potential. But Canonical managed to drive me away from it with that abomination called Snap and its auto updates that could bring down a cluster without warning.

Thankfully, the latest release of Debian provides LXD via .deb packages.

Really? That's great, finally I can get rid of snaps on my personal web hosting. I'll be testing it next week.

Re: LXD is now under Canonical

#203
post #152

Earlier quoted context omitted.

I'm in literally the same boat, on Debian now because of snaps. Their other homegrown stuff were mostly out of the way, like Unity or upstart, but snap was just really annoying with how it's integrated into the system.

On OpenSuSE Tumbleweed now because of Snap, rolling releases, best of class KDE support and pretty good testing of packages.

They also started shipping LXD recently.

Re: LXD is now under Canonical

#204

Earlier quoted context omitted.

You've been able to specifically schedule refresh times and interval's for awhile now. We did it monthly at a specific time and then set a calendar event with a couple notifications to keep track of it. IMO the "I can't turn off the updates" concern is overblown. If you aren't patching your systems ever you have problems anyways.

Overblown? Tell that to people that were hit with production outages. The whole idea of automatic updates for software running critical workloads is so stupid that I lost all respect for Canonical as a vendor.

[flagged]

Re: LXD is now under Canonical

#205
post #101
post #81

Earlier quoted context omitted.

The thought of people going to Pop to escape snap has me crackling.

Tbf it doesn't default to the really slow snaps. Instead it defaults to the dreadfully slow flatpaks.

Flatpaks have some startup time penalty, but it's an order of magnitude better than Snaps. They also have way better disk usage characteristics per installed package than Snaps do (they scale better).

You can use them side-by-side on the same system. Install a dozen of each and take some measurements.

Re: LXD is now under Canonical

#206

> Canonical, the creator and main contributor of the LXD project has decided that after over 8 years as part of the Linux Containers community, the project would now be better served directly under Canonical’s own set of projects. > While the team behind Linux Containers regrets that decision and will be missing LXD as one of its projects, it does respect Canonical’s decision and is now in the process of moving the p…

$

Re: LXD is now under Canonical

#207
post #167

Earlier quoted context omitted.

My objection is that it's simply fragile and overcomplicated software. Operations that one would expect to be instant take a second to run. I attempted to reinstall snap recently so I could use lxd (which seems good itself), and was greeted with inscrutable error messages so gave up and moved it all over to libvirt. Contrast with something like systemd that also has its haters, but it is solidly written software so s…

> fragile and overcomplicated Couldn't that description be applied to the existing Linux packaging ecosystem? It seems that "fragile and complicated" dependency graphs are exactly what Snap/Flatpak/AppImage are trying to fix.

The Linux packaging ecosystem works extremely well for open-source software, and it produces a much leaner, more integrated system than bundling approaches like are common on macOS (and in a less extreme way, Windows).

There are two things that Snap and Flatpak are trying to 'fix':

1. The Unix security model, which relies on the user as a main boundary for security/policy. These tools are trying to add sandboxing that makes running untrusted software safer and accounts for the fact that being able to access everything in a user's home dir (and so on; this isn't just about the filesystem) is 'bad enough'.

2. The Linux packaging ecosystem (and whole userland, down to glibc's ABI policies) has never been intended to serve proprietary software developers/publishers/vendors who want to be able to throw their binaries over the wall or test only on an extremely limited range of library versions.

(AppImage only aims to 'fix' the latter, and poorly at that, since it doesn't even attempt to encapsulate huge parts of the runtime environment that vary from distro to distro.)

The only thing 'fragile and complicated' about Linux packaging itself is the practice of installing everything into a shared global namespace on the filesystem, which is already better addressed within the packaging infrastructure itself, as has been done on NixOS, GuixSD, GoboLinux, and Distri. (The latter two being more research projects than practical distros.) Those distros all prove that resource sharing and dynamic linking are actually red herrings when it comes to what is problematic about distributing software on Linux— you can keep both of those things and escape dependency hell forever (with or without containerization).

Re: LXD is now under Canonical

#208

Earlier quoted context omitted.

I think that LXD as a Proxmox alternative is a very underrated idea to be honest. Don't get me wrong, Proxmox is a pretty good piece of software, but if your workload isn't tailored to VMs + you have private links between your clusters + you have shared storage, you end up adding way too much complexity to your stack even tho you aren't using the real useful features that Proxmox provides. So if you are in the "I jus…

Please note that Docker and LXC (and LXD by extension) are essentially the same technology packaged differently, with different yet overlapping use cases; in fact, early Docker Engine was based on LXC before they switched to containerd. Therefore I don't think there is anything that can run on LXC/LXD but not on Docker (and vice versa); it's more a matter of preference, whether you want a long-lived persistent virtua…

This summarizes it well. Sometimes you run into apps that don’t ship Docker containers because they expect to not be behind a reverse proxy. For example, while there are third party Docker containers for the Unifi controller, they only support using their apt repos. The controller expects to be able to send low-level discovery packets and not just HTTP. Lxd makes that really easy.

Also, from a development standpoint sometimes a long-lived container environment is easier. I run zigbee2mqtt inside of lxd because if I want to try a PR, it’s `git checkout … && npm ci` and not building a whole container each time.

For the home NAS and server case, I’ve been really happy with Ubuntu server with zfs + lxd + docker. And, a lxd VM for Home Assistant OS. Basically, the right tool for each job and no worries trying to force software into an environment their developers don’t expect.

Re: LXD is now under Canonical

#209
post #89
post #84

Earlier quoted context omitted.

In this context, would Kubernetes be an orchestrator for application containers or system containers? Or both?

K8s doesn't support orchestrating LXC/LXD containers as far as I know. What I did was to use LXD containers as hosts/nodes for K8s. So, it was basically application containers/pods and K8s running inside system containers. In addition, there are orchestrators which can run LXC containers (LXD is a management layer over LXC). Hashicorp Nomad is noteworthy. Added later: K8s runs OCI containers. All OCI containers I hav…

I still don't see the technical difference, and lxc/lxd doesn't seem to provide one.

Re: LXD is now under Canonical

#210
post #96

Earlier quoted context omitted.

I haven't read much about lxd until just now but based on that link, the differentiating feature between lxd and podman seems to be that lxd can manage full virtual machines (using qemu as backend, according to [1] which was linked elsewhere in this thread). Whatever this distinction is between application and system container, it doesn't appear to be a technical distinction nor a feature that lxd has that podman lac…

> the differentiating feature between lxd and podman seems to be that lxd can manage full virtual machines LXD is a management layer over LXC and Qemu(KVM?). LXC is all about system containers. The Qemu support is a recent addition [1]. LXD supported only LXC system containers until then. > Containers you run with docker and podman are fully capable of running multiple processes Yes. I have done this. But it was very…

I think the point is "system container" is a marketing term, not a technical term.
Post reply on HN