3 ms·
Try 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/
by abhinavk 2y ago
Try 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.