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
889 stars 73 forks source link

about IP address #62

Closed xrain0610 closed 8 years ago

xrain0610 commented 8 years ago

when i docker-machine restart default , the boot2docker ip will change, and the env command is error. can you fix it?

zchee commented 8 years ago

@xrain0610 Thanks issue :)

Yes, known issue.

e.g. when vm name is xhyve, docker-machine env xhyve immediately after the docker-machine restart xhyve, an error will occur. The reason is because boot2docker is in booting kernel.

If you wait for a little (e.g. 10sec), docker-machine env xhyve command to succeed?

xrain0610 commented 8 years ago

@zchee sorry , i file a wrong issue, i edit the /var/lib/boot2docker/profile and add --registry-mirror , then restart the machine, the docker is down .

zchee commented 8 years ago

@xrain0610 :)

but, It is valuable information. I'll remember that. Thanks!