Trying to run Docker resulted in exit code 127

I am trying to run a certain application in windows that uses docker. Since the application is a shell script, I use the cygwin terminal. As am new to docker, I dont have a clear Idea as to how it works.

Using boot2docker, I have a docker terminal open in windows 7 and a cygwin terminal to run the script.

  • Boot2Docker on Mac - Accessing Local Files
  • Docker: How does this (not) work?
  • Broadcasting UDP from within a Docker container
  • creating a docker image with nginx compile options for Optional HTTP modules
  • Docker plugin : /src/main/docker/Dockerfile gradle-docker fails
  • Find host ip from a docker container running in boot2docker / osx
  • But when I run the script, say

       ./xyz init

    I get the following error

        trying to run docker resulted in exit code 127

    Can you please tell me what are the basic first aid I should go through to resolve this?

    The application is obtained from, called vmx. The information about the application is here.

    Your help is much appreciated.

  • Unable to Connect to Tensorflow Jupyter Notebook in windows 10
  • In dockerized python3 ftp command RETR throws a ConnectionResetError
  • Docker AUFS… underlying fs… optimization by mount option?
  • Why Docker resets connection upon pushing an image to a private registry?
  • Dockerized node app not serving static content
  • TLS error when using docker-machine driver digitalocean
  • One Solution collect form web for “Trying to run Docker resulted in exit code 127”

    I think the 127 means docker was not found on the path. Similar question. On windows docker will only work inside the boot2docker vm so if you are running the script in cygwin it would not work. You must ssh into the boot2docker vm and run your commands there.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.