this post was submitted on 26 Jun 2023
4 points (100.0% liked)

Free and Open Source Software

17941 readers
121 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
 

If you do, what is your setup to run and maintain the containers? Have you experienced any problems that have been show-stoppers?

They seem like an attractive option in some cases, but I'm curious to hear how people use them for general computing.

you are viewing a single comment's thread
view the rest of the comments
[–] ono@lemmy.ca 1 points 1 year ago* (last edited 1 year ago) (1 children)

LXC for:

  • Software builds
  • Command line experiments on distros other than my main one
  • Running apps with no risk of messes left behind when I uninstall them
  • Some (limited) privacy isolation when running apps that I don't trust

(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:

  • A handful of apps that aren't available in my distro's package repo
  • Steam, because its runtime containers don't play well with LXC

(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.)

[–] kyoji@beehaw.org 1 points 1 year ago (1 children)

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?

[–] ono@lemmy.ca 1 points 1 year ago (1 children)

LXC puts an entire Linux distro in a container, so I can use shells, install packages, and configure/manage things a lot like I would a virtual machine. It's useful when I want to 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 if Qubes OS? It's made specifically for desktop software in containers.

[–] kyoji@beehaw.org 1 points 1 year ago

No I havent, but it looks incredible! Thanks for another tip.