Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Docker Compose Up gives “The system cannot find the file specified.” error

  • 0

I have recently installed Docker Toolbox on my Windows 10 machine.

However, whenever I run docker-compose up I get the following error message:

 File "", line 49, in connect
pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.')
docker-compose returned -1

Note that I have C:Python27 and C:Python27Scripts in both my user and system environment variables. I also tried this using Python 3, and it still doesn’t work.

Click to rate this post!
[Total: 0 Average: 0]
Share This Post
  1. You and I may or may not have the same problem. In the link posted by @Haken Lid above, the issue is with the PATH environment variable not having the correct version of Python.

    BUT, for me, the issue was that I had not set all of my environment variables, by running

    eval $(docker-machine env <vmname>)

    before I ran the docker-compose <any command>.

    • 0
Leave an answer

Leave an answer