Comments (6)
@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 DOCKER_IP
env var with an address in the 24-bit block, i.e., 10.0.0.0 - 10.255.255.255, before invoking dvm up
, the IP address on my VM remains stable and available.
from dvm.
Same issue experienced.
from dvm.
similar to #4. Do any of you connect to different networks?
from dvm.
@opeckojo Huh. I've already got a 10.*
address on my VM's eth0. Do you? I'm not clear what the difference between those interfaces is.
@corporate-gadfly I just connect to a single Wi-Fi network.
from dvm.
@Peeja I think it may be interface eth1
which is the one configured by Vagrant for the private network IP. If I bring up the Virtualbox GUI, the MAC address listed for the vboxnet1
adapter matches the MAC Address for eth1
. I can't say for certain why an address in the 16-bit block, 192.168.0.0 - 192.168.255.255
, causes this issue, however, for me, changing to a 24-bit block address completely resolved this issue. Before changing my VM's IP, I would be able to communicate with the VM via docker for maybe an hour and then I would no longer be able to connect. Doing a full restart or reload were the only ways I could reestablish connectivity. Since I switched to a 24-bit block IP address, I've had my VM up for over 24 hours and am still able to communicate with it via docker running locally on my Mac.
All I did was set the DOCKER_IP environment variable to a 24-bit block address, in my case 10.211.55.255
, eval my dvm env to sync up my session, bring up my VM and work as described in the docs herein.
I admit I don't know the specifics of what's actually occurring under the covers and why the 192.168.42.43
address is causing this problem with Virtualbox and Vagrant's private network. If I get time to dive in and uncover anything I'll be sure and update this issue.
from dvm.
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!
from dvm.
Related Issues (20)
- BootToDocker 0.5.2 HOT 7
- installed via brew tap, dvm up errors: 'Linux_64' is not a valid Guest OS type HOT 9
- Update documentation and `dvm check` for vmware/virtualbox support
- docker client cant connect to tcp://192.168.42.43:4243 HOT 2
- dvm up Error: Connection timeout. Retrying... HOT 1
- Is this project dead? HOT 4
- Static IP assignment leaves stray udhcpc process running in background HOT 1
- VMware Fusion link in README is dead HOT 1
- DOCKER_PORT does not seem to alter port of Vagrantfile HOT 1
- Support for Parallels? HOT 3
- Just use localhost for DOCKER_IP? HOT 3
- DVM not support VirtualBox 4.3 HOT 3
- dvm runs insecure by default HOT 1
- `dvm up` hangs on VMFusion 6, missing OS HOT 4
- DVM does't finish booting HOT 1
- docker is not working proparly after starting dvm HOT 2
- upgrade to boot2docker 1.3.1 HOT 2
- Error response from daemon: client and server don't have same version (client : 1.15, server: 1.14) HOT 7
- Chasing releases HOT 4
- Error response from daemon: client and server don't have same version HOT 35
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dvm.