I’m using this (Building a Docker Container) section. I could install the docker image and cd into “openface” folder. Now when I’m trying to run the command ./run-tests.sh
I’m getting the following error:
bash: ./run-tests.sh: /bin/bash^M: bad interpreter: No such file or directory
For this code: ./demos/compare.py images/examples/{lennon*,clapton*}
I’m getting the error:
: No such file or directory
But both the python code and the images exists in the respective folder.
Can anyone please tell me what can be the issue and how to resolve it?
@funky81: Thanks for your reply! My server and container are both have linux. I downloaded docker and installed it in my windows 10 laptop. With this,as per my understanding, I’m getting linux container. Now I called the openface image file and installed it. Openface is a linux based image. Then I’m cd into openface folder and run these commands.
So I think I’m using both linux server as well as container. Please correct me if I’m wrong. I’m completely new in docker environment.
You can use Linux Container in Docker for Windows 10 by switching to Linux VM in the docker control panel (docker taskbar). But fortunately you cant do this with Windows Server.
I logged in only to say that this solution provided by jdharmon works like a charm in my case - Docker on Windows 10, project was originally built on Linux, default gitconfig