3 ms·
Is this like a better version of toolbx? Because I love toolbx and use it daily, but I wish it allowed for more granular configuration. For example I'd want to
by INTPenis 2y ago
Is this like a better version of toolbx? Because I love toolbx and use it daily, but I wish it allowed for more granular configuration.
For example I'd want to create more containers for more specific use cases where they only have access to specific dirs in my HOME.
- abhinavk 2y agoTry distrobox. The default behavior is like toolbx but you can change home folder to ~/distrobox/appx or go all-out and unshare everything. https://github.com/89luca89/distrobox https://github.com/89luca89/distrobox
- INTPenis 2y agoYou mean combining the --unshare-all and the --volume arguments to create my own list of HOME dirs to share? The docs are really sparse, lots of examples that use --unshare-all but nowhere do they explain it.
- abhinavk 2y agoYou can set DBX_CONTAINER_HOME_PREFIX=~/allmyboxes in ~/.config/distrobox/distrobox.conf to do that. It will share ~/allmyboxes/my-debian-distrobox1 as the home dir. If you pass --dry-run, it will spit out the underlying podman/docker command. That was frankly better than trying to find documentation.
- INTPenis 2y agoYeah I figured out eventually that I can use --home and --volume to set an alternative home and then mount individual dirs from my home into the container's home. Thanks, I'm using distrobox now.