Failed to start standard hello-world program in docker in Windows 7

I just finished installing Docker on my Windows 7 computer using the instructions here https://docs.docker.com/windows/step_one/ .

During the installation, I did not install Git and Virtual Box , as I already installed them on my machine. After installation, I fixed the missing bash.exe script problem and to some extent worked docker. But I cannot run the docker default hello-world command. I get the following error.

I already looked at a similar problem mentioned in SO Troubleshooting a Docker-On-Windows issue to run hello-world , but the error I get here is different. Therefore, please do not mark this as a duplicate.

 $ docker run hello-world docker: An error occurred trying to connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.23/containers/create: open //./pipe/docker_engine: The system cannot find the file specified.. See 'docker run --help'. $ docker version Client: Version: 1.11.2 API version: 1.23 Go version: go1.5.4 Git commit: b9f10c9 Built: Wed Jun 1 21:20:08 2016 OS/Arch: windows/amd64 An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.23/version: open //./pipe/docker_engine: The system cannot find the file specified. $ docker-machine start default Starting "default"... Machine "default" is already running. $ docker-machine env default SET DOCKER_TLS_VERIFY=1 SET DOCKER_HOST=tcp://192.168.99.100:2376 SET DOCKER_CERT_PATH=C:\Users\chandeln\.docker\machine\machines\default SET DOCKER_MACHINE_NAME=default REM Run this command to configure your shell: REM @FOR /f "tokens=*" %i IN ('docker-machine env default') DO @%i $ git --version git version 2.7.4.windows.1 
+5
source share
1 answer

Nothing. I made a mistake when I was executing commands from a Windows terminal, and not from a Docker quick launch terminal. Some of the initially executed commands made me think about using a Windows terminal.

 $ docker run hello-world Hello from Docker. This message shows that your installation appears to be working correctly. 
+5
source

All Articles