stat-nlp-book icon indicating copy to clipboard operation
stat-nlp-book copied to clipboard

Docker commands do not work in Powershell on Windows

Open haysch opened this issue 4 years ago • 0 comments

Expected behavior:

Starting a docker container and pull the nlp-stat-book into the current working directory (PWD).

Current behavior:

When running the docker commands, as defined in the README, in Powershell Core on Windows, e.g.

docker run -v "$(pwd)":/home/jovyan/work bjerva/stat-nlp-book:ndak18000u git clone https://github.com/copenlu/stat-nlp-book.git

I receive an error message docker: invalid reference format.

Possible solution:

The volume mount is not valid on Windows. Change each "$(pwd)":/home/jovyan/work to "$(pwd):/home/jovyan/work" in the README. The updated mount works on bash in Ubuntu 18.04 and Powershell Core on Windows 10.

haysch avatar Sep 05 '20 08:09 haysch