this post was submitted on 26 Jun 2023
3 points (100.0% liked)
Free and Open Source Software
17932 readers
66 users here now
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
LXC for:
(It doesn't provide as much isolation as a hypervisor-based virtual machine, but it's good enough for some purposes, and much better than Flatpak.)
Flatpak for:
(I never run apps from Flathub, because I find they usually come with loose permission settings that sacrifice the user's security and privacy in favor of the packager's convenience. Instead, I build my own flatpaks. Some people get a similar effect by micromanaging overrides with
flatpak override
or Flatseal.)Snap looked interesting when I looked at it a few years ago, especially since parts of its sandboxing design looked more effective than Flatpak's. However, it was pushed out to Ubuntu users in a state that I don't consider fit for release, and the maintainers have been painfully slow to address its issues, and its repository system is not open, so I doubt that it will ever meet my needs.
Docker on some servers, though I intend to switch to Podman. (And you asked about desktop software, so this is a little off-topic.)
I have never heard of LXC, thanks for the tip! Is LXC similiar to Docker where you need to configure the entire environment? When you use LXC for desktop software, do you always build from source?
LXC puts an entire Linux distro in a container, so I can use shells, install packages, and configure/manage things like I would a virtual machine. It's useful when I want more flexibility than the single-app model offered by docker and flatpak. I haven't tried using it for a desktop environment (like Plasma or GNOME), but I have used it for GUI apps.
No, I don't always build apps from source for use in an LXC container. I usually let the guest's package manager (like apt) install them.
Are you aware of Qubes OS? It's made specifically for desktop software in containers.
No I havent, but it looks incredible! Thanks for another tip.