adlogix / docker-machine-nfs

Activates NFS on docker-machine
MIT License
794 stars 104 forks source link

Support for xhyve #43

Closed dougmarcey closed 8 years ago

dougmarcey commented 8 years ago

This is a working attempt at updating the script to support the xhyve vm driver.

It works by doing a lookup of the bridge interface created by xhyve and using that as the nfshost ip

Tested on OS X 10.11.3 with: docker-machine 0.6.0 xhyve 0.2.0 docker-machine-driver-xhyve 0.2.2

(all installed w/ homebrew)

tonivdv commented 8 years ago

Hey @dougmarcey ,

Cool. I don't have the time to test this, but I don't see anything that could break stuff. Would you mind though update the README.md in order to add the support for xhyve. If there is any limitation or stuff to be careful about add it too. Squash it with this commit. Then I'll merge.

Cheers

dougmarcey commented 8 years ago

Yup, I'll update the README.md and test a few more times, but so far it's been working well for me day-to-day.

dougmarcey commented 8 years ago

README updated, just did some more testing with multiple machines, so far it's working well for me.

tonivdv commented 8 years ago

If you can just squash it to 1 commit :)

dougmarcey commented 8 years ago

Derp, done.

tonivdv commented 8 years ago

Thanks