logoalt Hacker News

bketelsen • yesterday at 4:56 PM • 2 replies • view on HN

Distrobox mounts $HOME in the container at $HOME by default. WSL and NSL do not, and that's my preference. This means you can install tools that change your default path, change your dotfiles, etc, without affecting the host. The other obvious difference is that distrobox is powered by podman or docker, while NSL uses a VM that runs systemd-nspawn containers.


Replies

jm4 • yesterday at 10:39 PM

I was wondering the same thing. Distrobox mounts $HOME by default, but it’s trivial to give a distrobox its own $HOME.

Can you explain the advantages of systemd-nspawn containers versus podman/docker? I’m not familiar with systemd-nspawn, but I’m a regular user of distrobox and podman.

NekkoDroid • yesterday at 9:39 PM

> WSL and NSL do not, and that's my preference.

To be fair, WSL mounts all your drives under /mnt/ by default, which I would argue isn't any better, arguably even worse.