I ran the following command in MacOS
to mount the current directory to container's src
directory. How would I do this in windows 10
.
docker run -it --rm --mount type=bind,source="$(pwd)",target=/src ucd-fff-connector bash -c 'cd src; python main.py;'
For example, I know I have to change "$(pwd)"
to "%cd%"
. I do not have a windows computer to test. Do I also need to switch single quote '
to double quote "
?
It would be also nice to have a version to run across different platforms, ie: command prompt
, terminal
, powershell
and etc