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

docker client cant connect to tcp://192.168.42.43:4243 #24

Closed lalyos closed 10 years ago

lalyos commented 10 years ago

Hi,

dvm starts up nicely, i can start containers etc. after a while I cant reach it from docker client:

2014/03/12 16:04:52 dial tcp 192.168.42.43:4243: operation timed out

I can still connect to docker by: dvm ssh, and containers are still running.

environment

by checking the open ports, i can see virtualbox listening

lsof -i|grep 4243
VBoxHeadl 11971 lalyos   20u  IPv4 0x459e391648321dc7      0t0  TCP *:4243 (LISTEN)
cwjohnston commented 10 years ago

It seems like the IP address assignment for eth1 changes after about ~20 minutes of uptime. I've seen this happen with both virtualbox and vmware_fusion providers.

fnichol commented 10 years ago

We've hopefully tracked this down and fixed in #35. Yay!