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.

  • Running Boot2docker behind proxy, getting FATA[0020] Forbidden for any interaction with Docker hub
  • Docker-compose does not install or run properly on boot2docker
  • docker-compose error on the Django's welcome page
  • docker-machine to connect with external host
  • How can I debug my docker container with phpStorm
  • docker pull/push not working with insecure registry
  • 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.

  • How can I install docker toolbox on windows 7
  • How should I combine docker containers?
  • Where is /var/lib/docker on Mac/OS X
  • Run MongoDB in a Docker container with no volumes
  • Container process on host machine
  • tools for defining and running complex applications with docker
  • 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.