MRtrix3 from docker: Access local data

O.S: windows 10. Running from docker through CMD terminal

Dear experts.

The docker container has been succesfully installed in windows 10.

Problem: I can not access the data from my local machine. In the example below, I tried to display image header information from one .nii file:

I also tried the following path.

docker run -it -v C:\path\to\your\data:/data mrtrix3/mrtrix3

Namely, without “container” in the path:

Thanks for any input. I could not find info in the tutorials regarding the docker containers.

FYI,
I found the source of the problem: Data/disk sharing issues between docker and WSL2 in windows. Apparently, it is possible to use Bind Mount to Share Files located in Windows WSL2 with a Docker Container. However, I did not test this opton . I smoothly ran MRtrix3 from a singularty docker in a linux server.