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.

  • Docker (under boot2docker) does not look for/find local images when building
  • How to use gcloud preview app run without boot2docker? [duplicate]
  • How to connect to a service running on docker container from withing host MacOS machine?
  • Docker file permissions with volumes, Boot2docker and Virtualbox
  • Connect docker container
  • Cannot seem to install Google Cloud Managed VMs
  • 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.

  • docker run with -p and a single port (instead of mapping)
  • Can't launch openresty docker
  • is it possible to run virtualbox inside a docker container
  • Error accessing host port from docker container on ubuntu
  • Shell script to cleanup specified docker containers using grep
  • Why are the Atomic Host CentOS automatic partitions like they are?
  • 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.