Docker Waiting for SSH to be available...

the problem of docker creating a cluster according to the official website operation

win10 docker for windows

related codes

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. (YBO): 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...

the cluster you want to create is successful

Jun.04,2022
Menu