machine-drivers / docker-machine-driver-xhyve

docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
https://godoc.org/github.com/machine-drivers/docker-machine-driver-xhyve
BSD 3-Clause "New" or "Revised" License
888 stars 74 forks source link

Occur error on env command of immediately after the restart command #69

Open zchee opened 8 years ago

zchee commented 8 years ago

Occur error on docker-machine env of immediately after the docker-machine restart

zchee commented 8 years ago

e.g.

$ docker-machine restart test-xhyve; docker-machine env test-xhyve

Result,

> Reading CA certificate from /Users/zchee/.docker/machine/certs/ca.pem
> Reading server certificate from /Users/zchee/.docker/machine/machines/test-xhyve/server.pem
> Reading server key from /Users/zchee/.docker/machine/machines/test-xhyve/server-key.pem
> Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.64.8:2376": dial tcp 192.168.64.8:2376: getsockopt: connection refused
> You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
> Be advised that this will trigger a Docker daemon restart which will stop running containers.

but, wait for 5sec, succeeded env