a) A command that works everywhere (in PowerShell too) is ... -v "$(pwd):/build" ...
b) Only paths under /c/… are mounted to the Docker VM and can be mounted to a container. Click on ‘Settings’ on the Docker symbol in the taskbar and go to Resources–FILE SHARING to see which drives are available.
(I assume you installed the stable version and not a tech preview.)
1 Like