Mounting local folder from Linux/Mac to Windows container


I want to use a folder from my Mac (or Linux) inside a Windows Docker Image (see image below).

Example of my command line on Mac/Linux:
docker run -it -m 2G --rm -v $(pwd):/c/Temp buildtools dir

I get “docker: Error response from daemon: invalid volume specification”

I tried all kinds how to specify c:/temp.

scenario.pdf (11.3 KB)

How can I do it?
How to set the path?