docker cannot start on windows

后端 未结 30 2553
北海茫月
北海茫月 2020-12-04 09:17

Executing docker version returns the following results.

C:\\Projects> docker version
Client:
 Version:      1.13.0-dev
 API version:  1.25
 G         


        
30条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 10:02

    Try running the following from an elevated command prompt:

    SET DOCKER_CERT_PATH=C:\Users\[YourName]\.docker\machine\machines\default
    SET DOCKER_HOST=tcp://[yourDockerDeamonIp]:2376
    SET DOCKER_MACHINE_NAME=default
    SET DOCKER_TLS_VERIFY=1
    SET DOCKER_TOOLBOX_INSTALL_PATH=C:\Program Files\Docker Toolbox
    

    You might also find that even without setting those env variables, running commands from the docker quick start terminal works no problem.

提交回复
热议问题