running docker example failing to find /opt/pysrim/ni.py
Hi,
With a fresh install of docker, I am logged in on the GUI and in the terminal, with a fresh install of python 3.6 under anaconda on Mac OS Sierra, I have entered the command you have written as an example:
docker run -v $PWD/examples/docker:/opt/pysrim/ -v /tmp/output:/tmp/output -it costrouc/pysrim sh -c "xvfb-run -a python3.6 /opt/pysrim/ni.py"
This produces the following output (first pull of costrouc/pysrim):
Unable to find image 'costrouc/pysrim:latest' locally
latest: Pulling from costrouc/pysrim
18969b622956: Pull complete
5017e97722ee: Pull complete
048196f274bc: Pull complete
0a7a41e85ce4: Pull complete
9c61465ac597: Pull complete
33d3319203b7: Pull complete
3f0d3aac48e9: Pull complete
e04cf94972c0: Pull complete
0ea6cb484987: Pull complete
Digest: sha256:9a77f9d8a5c509fcc0d06b5f178392404555597b3cea75a07070415e10907ff3
Status: Downloaded newer image for costrouc/pysrim:latest
python3.6: can't open file '/opt/pysrim/ni.py': [Errno 2] No such file or directory
The error is the same when costrouc/pysrim is already pulled - no such file for ni.py.
I am very much looking forward to using pysrim, and this is my first time using docker, so I'd very much like to sort it out if it's a problem on my end.
Many thanks