Hacker News new | past | comments | ask | show | jobs | submit login

You 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.



You 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.


Yeah 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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: