Docker Community Forums

Share and learn in the Docker community.

Docker run in windows


(Celicoo) #1

I’m trying to use the following command in my windows:

docker run -it --rm --name my-running-script -v "%cd%":/usr/src/myapp -w /usr/src/myapp python:2 python my-program.py

And isn’t finding my-program.py file, in fact, the volume isn’t working at all. I have a Linux background, and this should work (besides the %cd%)

Any ideas?

Thanks.