Quick note for anyone changing the mount point in wsl.conf - this requires a full Windows reboot in order to take effect. Here is the section I use in my /etc/wsl.conf -
[automount]
enabled = true
root = /
Note also that only paths under /c/ can be mounted to a container (assuming C: is your shared drive in Docker for Windows), per tekki’s comment here in another thread: