docker-archive / toolbox

The Docker Toolbox
https://docker.com/toolbox
3.22k stars 1.23k forks source link

DockerToolbox for win7 service unavailable error #540

Open krs8785 opened 8 years ago

krs8785 commented 8 years ago

Initially got the error when running docker ps on CMD

An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v
1.23/containers/json: open //./pipe/docker_engine: The system cannot find the fi
le specified.

Followed the steps here


C:\Users\shahkar>docker-machine start default
Starting "default"...
Machine "default" is already running.

C:\Users\shahkar>docker-machine env default
SET DOCKER_TLS_VERIFY=1
SET DOCKER_HOST=tcp://192.168.99.100:2376
SET DOCKER_CERT_PATH=C:\Users\shahkar\.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

C:\Users\shahkar>docker-machine env --shell cmd
SET DOCKER_TLS_VERIFY=1
SET DOCKER_HOST=tcp://192.168.99.100:2376
SET DOCKER_CERT_PATH=C:\Users\shahkar\.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 --shell cmd') DO @%i

C:\Users\shahkar>@FOR /f "tokens=*" %i IN ('docker-machine.exe env --shell cmd')
 DO @%i

Now when I try docker ps again I get the following error

An error occurred trying to connect: Get https://192.168.99.100:2376/v1.23/conta
iners/json: Service Unavailable
kunalkushwaha commented 8 years ago

I was facing this issue too. My problem got fixed with latest toolbox downloaded from https://github.com/docker/toolbox/releases/tag/v1.12.0