docker Waiting for SSH to be available...

新手上路,请多包涵

docker按照官网操作报错创建集群的问题

win10 docker for windows

相关代码

Client: Docker Engine - Community
Version: 18.09.1
API version: 1.39
Go version: go1.10.6
Git commit: 4c52b90
Built: Wed Jan 9 19:34:26 2019
OS/Arch: windows/amd64
Experimental: false
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocke...: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

PS C:Windowssystem32> docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
myvm1 hyperv Timeout
myvm2 hyperv Timeout
myvm3 hyperv Timeout

PS C:Windowssystem32> docker-machine regenerate-certs myvm1
Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Waiting for SSH to be available...

PS C:Windowssystem32> docker-machine start myvm1
Starting "myvm1"...
(myvm1) Waiting for host to start...
Machine "myvm1" was started.
Waiting for SSH to be available...

希望创建的集群成功

阅读 2.4k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进