boot2docker was running all the time on 192.168.59.103.
Suddenly the command boot2docker ip
gives 192.168.59.104.
The problem is that now I have to change all my /etc/hosts
entries.
How can I make the boot2docker IP address static?
Side question: Should I avoid boot2docker completely and run everything inside a Vagrant machine?
I am running on Mac OS X v10.10 (Yosemite).
If you haven't already done so, create a Docker configuration with:
boot2docker config > ~/.boot2docker/profile
Then edit your Docker configuration with the following line:
UpperIP = "192.168.59.103"
Then follow the other steps to clear out your old Docker images and start a new one.
I was also having issues connecting to Docker, but a system restart resolved them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With