mimoralea / gdrl

Grokking Deep Reinforcement Learning
https://www.manning.com/books/grokking-deep-reinforcement-learning
BSD 3-Clause "New" or "Revised" License
812 stars 234 forks source link

Windows docker run command doesn't work in PowerShell #31

Open snowfrogdev opened 1 year ago

snowfrogdev commented 1 year ago

In the readme, the command docker run -it --rm -p 8888:8888 -v %CD%/notebooks/:/mnt/notebooks/ mimoralea/gdrl:v0.14 did not work for me in PowerShell.

However I was able to get it to work with a slight modification:

docker run -it --rm -p 8888:8888 -v "$(pwd)/notebooks/:/mnt/notebooks/" mimoralea/gdrl:v0.14

Found solution here: https://stackoverflow.com/questions/46526165/docker-invalid-characters-for-volume-when-using-relative-paths