I am thinking about using distrobox. Since I am on debian I wont need it to install software I could otherwise not install. But I have some apps that require weired install scripts and I am thinking about using it as a security measurement. Do you think that is a good idea? Does that idea makes sense?

3 points

I am a massive Distrobox fan. I do not use it for security though.

  • create environments for specific purposes: dev, testing, cybersecurity work, video, AI, etc
  • access to the full app library of any distro
  • isolation of multiple large apps for easy and complete removal when you are done with them
  • use Glibc apps on your MUSL distro
  • install apps easily on an immutable distro
  • total compatibility ( eg. Legally install a real RHEL9 Distrobox for free )
  • ”try out” an unfamiliar distro without a VM
  • experiment and break things without messing up your main system
  • separate your distro base from your userland ( eg. Minimal Debian Stable install with pretty much all apps coming from an Arch Linux Distrobox ). Rock solid stability of the base system paired with a massive ecosystem of up-to-date packages.
permalink
report
reply
5 points

I wouldn’t use it for security, use VMs if you need isolation.

I used Distrobox for various dev projects on Fedora Atomic and it worked great for that. I did a separate homedir mainly just to avoid dumping a bunch of crap into my real home but definitely have the expectation that anything you install has full access to the system.

I run FreeCAD via Distrobox as well since the flatpak performance was pretty bad and it’s wayyyy faster which is nice and preferable to rpm-ostree in my instance.

permalink
report
reply
24 points

I recommend you doing so, but not as a security measure, more of so as a “keeping everything organised”-measure.

I like to keep my host OS clean and install everything containerised

permalink
report
reply
1 point

This is the way

permalink
report
parent
reply
6 points

Yeah. The idea of random stuff nesting into my pc where I will never find it again is also a big pain. That said using distroboy would make it much cleaner I guess.

permalink
report
parent
reply
20 points
*

It works well when you want to install software that is not compatible with your distro, but it is not a great security measure since it integrates with your host system instead of acting as a sandbox.

Isolation and sandboxing are not the main aims of the project, on the contrary it aims to tightly integrate the container with the host. The container will have complete access to your home, pen drive, and so on, so do not expect it to be highly sandboxed like a plain docker/podman container or a Flatpak.

permalink
report
reply
17 points

If they require weird install scripts you don’t want to install on your system, then do not install it with Distrobox either. For those cases you don’t trust the weird install script, I recommend to use a Virtual Machine; if you really really need the program.

permalink
report
reply
1 point

If you are worried that the script will be malicious, Distrobox does not help.

However, if your main concern is that it is going to make a mess, Distrobox is the perfect solution.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7K

    Monthly active users

  • 7K

    Posts

  • 188K

    Comments