Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about IP address #62

Closed
xrain0610 opened this issue Jan 13, 2016 · 3 comments
Closed

about IP address #62

xrain0610 opened this issue Jan 13, 2016 · 3 comments

Comments

@xrain0610
Copy link

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

@zchee
Copy link
Member

zchee commented Jan 13, 2016

@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
Copy link
Author

@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
Copy link
Member

zchee commented Jan 13, 2016

@xrain0610 :)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants