You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the most part this doesn't seem to hurt but occasionally (randomly?) the IP address on that interface will jump to something in the 192.168.56.x range. Interestingly, this overlaps with a range of addresses provided by Virtualbox:
The strange thing is that killing and rerunning the udchpc process manually doesn't end up assigning the interface an address but if I kill the VM, change eth1's config to explicitly point to vboxnet0, and start the VM directly in Virtualbox, the machine ends up booting and getting assigned something in that range:
Since adding that I haven't seen any more IP address drifts on my local boot2docker VMs. I'm not 100% sure this will fix that issue but it seems a likely cause.
The text was updated successfully, but these errors were encountered:
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#28Closes#24Closes#8
@adamleko Thank you for finding the underlying issue here! After a lot of searching around, your solution looks to be the best one right now. Again, thanks!!!
If I
vagrant up
a boot2docker instance through dvm, everything is fine when the VM starts up:But there is a udhcpc client being left running on eth1:
For the most part this doesn't seem to hurt but occasionally (randomly?) the IP address on that interface will jump to something in the 192.168.56.x range. Interestingly, this overlaps with a range of addresses provided by Virtualbox:
The strange thing is that killing and rerunning the
udchpc
process manually doesn't end up assigning the interface an address but if I kill the VM, changeeth1
's config to explicitly point tovboxnet0
, and start the VM directly in Virtualbox, the machine ends up booting and getting assigned something in that range:I'm wondering if the stray
udhcpc
process in inadvertently causing #8 in some scenarios.I put together a really dirty fix for this which I would submit as a pull request if I didn't think there was a cleaner way to do:
Since adding that I haven't seen any more IP address drifts on my local boot2docker VMs. I'm not 100% sure this will fix that issue but it seems a likely cause.
The text was updated successfully, but these errors were encountered: