fnichol / dvm

An on demand Docker virtual machine, thanks to Vagrant and boot2docker. Works great on Macs and other platforms that don't natively support the Docker daemon. Support VirtualBox, VMware, and Parallels.
http://fnichol.github.io/dvm
Apache License 2.0
457 stars 67 forks source link

Ensure udhcpc is not running for statically defined eth1 interface. #35

Closed fnichol closed 10 years ago

fnichol commented 10 years ago

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

fnichol commented 10 years ago

It comes down to the following order:

  1. OS boots
  2. finds a network interface (eth1)
  3. auto-starts a dhclient process for it
  4. Vagrant middleware (re)configures eth1 with static networking
  5. the original udhcpc process is left running and may eventuall acquire an IP address