moby: docker "command not found" on windows

After following install instructions in Windows 7: http://docs.docker.com/windows/step_one/

when I get to Step 4, trying to run docker run hello-world I get the error:

bash: docker: command not found

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 16 (3 by maintainers)

Most upvoted comments

Add the docker installation folder to your system path using the environment variable editor and ensure that the path is not too long and getting truncated by windows variable size limits. You canecho %path% to ensure that it is complete.

@Skarlso I don’t think I restarted. I can give it a shot again sometime…