Toolbx now enables the proprietary NVIDIA driver (debarshiray.wordpress.com)
from joojmachine@lemmy.ml to linux@lemmy.ml on 17 Jun 2024 20:34
https://lemmy.ml/post/16992174

#linux

threaded - newest

priapus@sh.itjust.works on 17 Jun 2024 20:54 collapse

I have never heard of toolbx before, can anyone share how it compares to Distrobox? I’ve been using that for some time.

Telorand@reddthat.com on 17 Jun 2024 21:13 next collapse

From what I gather, it’s very similar. They’re both containerization tools to install software in a container overlay (someone mentioned to me before that they both even draw from the same Docker images).

Toolbx environments have seamless access to the user’s home directory, the Wayland and X11 sockets, networking (including Avahi), removable devices (like USB sticks), systemd journal, SSH agent, D-Bus, ulimits, /dev and the udev database, etc…

I’m not familiar with the finer details, but here’s some example use cases.

ETA: Based on the examples, it reminds me of how NixOS uses nested shells to do things.

biribiri11@lemmy.ml on 18 Jun 2024 02:29 collapse

From what I gather, it’s very similar.

They are both just wrappers for podman(/docker). Distrobox is more feature rich, and is far better documented, but is closer to a collection of bash scripts rather than a fully cohesive program. Toolbx is… definitely something. Their only real claim to fame is being less “janky”? IDK, it reeks of NIH, and in my experience, it’s a lot more fragile than distrobox (as in, I’ve had containers just become randomly inoperable in that I can’t enter them after a bit).

If you want to be pedantic, technically, distrobox is a fork of toolbx before it was rewritten.

scottmeme@sh.itjust.works on 17 Jun 2024 22:16 next collapse

Its mostly used for servers so that a GPU can be easily used with containerized software.

Most of these use cases don’t even have a display output.

boredsquirrel@slrpnk.net on 18 Jun 2024 00:50 collapse

Its faster and more minimal.

For desktop use poorly it doesnt have the ability to use custom home dirs so dotfiles will conflict

priapus@sh.itjust.works on 19 Jun 2024 03:03 collapse

I see, I only use distrobox for building software that doesn’t easily run on NixOS, so that likely shouldn’t matter too much for me.