Friday, August 14, 2020

Windows 10 docker desktop volumes

 Windows 10 docker desktop made a lot of changes between wsl and wsl2 especially how the mount works. This change created a lot of issues. Here is the main difference:


WSL:

mount point starts at this:

on drive C: /host_mnt/c

on drive D: /host_mnt/d


WSL2:

mount point starts like this

on drive C: /run/desktop/mnt/host/c

on drive D: /run/desktop/mnt/host/d