I am running Windows 10 as my host, and I am trying to mount a Windows directory into a Linux container (node, Debian based).
Previously, I was using Hyper-V backend and the dockerode package to interact with the Docker daemon to mount my Windows directory into my container. I could create a Docker volume by passing in a Driver opt lines of:
device: /host_mnt/d/path/to/my/dir
The keyword here being /host_mnt.
I am moving my development to using Docker dev containers and WSL2, however, the host_mnt path is no longer recognised. What is the correct path to mount a host Windows directory into my Linux container? I a running Docker Engine v20.10.3, Use the WSL 2 based engine is activated in my Docker settings and I am running Docker desktop 3.2.0 (61504).