I think, the substitution of Linux command $(pwd) in Windows is "%cd%".
So, try out following command which might help you.
docker run -it --rm --name my-running-script -v "%cd%":/usr/src/myapp -w /usr/src/myapp python:2 python test.py
I think, the substitution of Linux command $(pwd) in Windows is "%cd%".
So, try out following command which might help you.
docker run -it --rm --name my-running-script -v "%cd%":/usr/src/myapp -w /usr/src/myapp python:2 python test.py