-
Notifications
You must be signed in to change notification settings - Fork 67
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
VM keeps changing its IP address #8
Comments
@Peeja I was experiencing the same issue recently. I haven't had a chance to determine the root cause, however, I have a workaround that allows me to continue working without this issue recurring. If I export the |
Same issue experienced. |
similar to #4. Do any of you connect to different networks? |
@opeckojo Huh. I've already got a @corporate-gadfly I just connect to a single Wi-Fi network. |
@Peeja I think it may be interface All I did was set the DOCKER_IP environment variable to a 24-bit block address, in my case I admit I don't know the specifics of what's actually occurring under the covers and why the |
This causes issues where the udhcpc process may eventually attempt to acquire a new IP address from VitualBox or VMware's DHCP server, and thus severing the connection to the Docker daemon (from the client's point of view). Sadly this is more of a Tiny Core Linux boot issue with the busybox/udhcpc startup and not in boot2docker so it'll need to be handled in Vagrant middleware. Closes #28 Closes #24 Closes #8
Finally, I think we've tracked this down to a udhcpc process which Tiny Core Linux auto-starts on boot. (More details in #35). Thank you all for your help in diagnosing! |
I'm going in circles with this one.
I bring up the fresh VM. I
$(dvm env)
. I also check to see what that exports:If I
dvm ssh
and checkifconfig
, sure enough, that's the IP address.And
docker
commands work fine. Great.Then, a little while later,
docker
commands stop working. I can't ping 192.168.42.43 anymore. So Idvm ssh
back in:It's moved to 192.168.56.102.
dvm reload
correctly resets the VM's IP address (along with the entire machine).Any clue what could be going on here? I haven't found a pattern to my activity that could be causing it.
The text was updated successfully, but these errors were encountered: