nlf / dlite

The simplest way to use Docker on OS X
MIT License
2.34k stars 53 forks source link

Can't access internet within dlite container #222

Open mccall114 opened 7 years ago

mccall114 commented 7 years ago

Bug Reports

This is my /etc/resolv.conf within the container: nameserver 8.8.8.8 nameserver 192.168.64.1 # eth0

If I run this with regular Docker (aka not dlite), it works fine. It also works fine on a 2nd machine that has both dlite and regular Docker installed. Is there some dlite config that somehow got modified or is missing? Has anyone else experienced this?

nlf commented 7 years ago

to document this here (@mccall114 and i have been working on this via email) we haven't been able to determine exactly what's going on.

host to vm and vm to host communication works correctly, vm to internet fails. the vm's routing table is correct and the host's appears to be.

mccall114 commented 7 years ago

@nlf, is dlite using xhyve at this stage in 1.1.5? Is there any chance that upgrading to a later version of dlite would fix this (i.e. use hyperkit instead)?

nlf commented 7 years ago

yup, it sure is, and you're right trying out the 2.0 beta is probably your best bet. it already uses hyperkit in the latest betas.

you'd have to completely remove dlite 1.1.5, then download the latest beta and put it on your path. brew install libev then run dlite init and dlite start once that finishes. with some luck that'll have you up and running.