News for hackers. Stuff that matters.
Re:Toolship: A (More) Secure Workstation by mr-karan on Wednesday September 20, 2023 @10:58AM (#37585030)
Interesting approach to maintaining a clean dev environment using containers. This approach reminds me of Fedora Silverblue[1] that I’ve been wanting to try. It leverages OSTree for atomic upgrades and rollbacks. Users can run containers for CLI utils using toolbox[2]. This way, the base OS remains pristine, and there's less risk of "dependency hell" or inadvertent “package upgrades gone wrong”.

[1]: https://fedoraproject.org/silverblue/

[2]: https://docs.fedoraproject.org/en-US/fedora-silverblue/toolb...

Re:Toolship: A (More) Secure Workstation by smallerfish on Wednesday September 20, 2023 @12:04PM (#37585898)
I have silverblue on a laptop, but hadn't poked about sufficiently yet. Toolbox looks great. Thanks for pointing it out.
Re:Toolship: A (More) Secure Workstation by speed_spread on Wednesday September 20, 2023 @01:01PM (#37586683)
I use Silverblue and it works like a charm. The only problem I found is that you need to install your IDE locally instead of using a Flatpak to be able to launch it from within a toolbox. Also, toolboxes can not be upgraded across major versions (eg Fedora 37 -> 38) and have to be recreated instead.
Re:Toolship: A (More) Secure Workstation by eaglefield on Thursday September 21, 2023 @12:35AM (#37593255)
I'm running silverblue but running my containers through distrobox. Both toolbox and distrobox are running on podman under the hood, so it's the same technology as far as I understand. However, distrobox has some interesting features relevant to this idea of development isolation. One is that it has an assemble feature[1] built-in. Where you can feed it a recipe file and it will build or rebuild containers accordingly. The other is that it allows setting a custom home directory for the container, among other host/container isolating options[2].

Perfomance wise my containers take a couple MiB of rams and no perceptible CPU usage when not in use. At least as far as I can tell.

[1] https://github.com/89luca89/distrobox/blob/main/docs/usage/d...

[2] https://github.com/89luca89/distrobox/blob/main/docs/usage/d...