News for hackers. Stuff that matters.
Re:Announcing Docker ToolBox by elvis635 on Thursday August 13, 2015 @05:10AM (#10052959)
Docker under OSX is a real pain to solve ASAP.

I've set Docker on my Linux machine and it's working like a charm. Then I had to do the same for my coworkers running OSX, the vbox shared folders are definitely unusable.

Now it's been few days that I'm trying to find the best way to have a two-way sync in order to sync back changes from docker to the OSX folder (eg. when you upload a file and it's saved in the /public folder, otherwise it'll be lost)

So far I've used docker-osx-dev[0] for 1 way sync (with rsync) and it's working nicely.. they also plan to add the support to unison for a 2way sync

I've also found docker-unison[1] but I haven't found a way to have it working correctly

I'd like to try with boot2docker-xhyve, but it only runs on Yosemite and later

[0] https://github.com/brikis98/docker-osx-dev

[1] https://github.com/leighmcculloch/docker-unison

Re:Announcing Docker ToolBox by aceccanti on Thursday August 13, 2015 @05:43AM (#10053065)
I use docker for development on Mavericks using vagrant + coreos as the host VM and things works nicely [0]. NFS shared folders performance is fine and the configuration is trivial.

[0] https://github.com/coreos/coreos-vagrant

Re:Announcing Docker ToolBox by bradgessler on Thursday August 13, 2015 @05:41AM (#10053057)
There's https://github.com/codekitchen/dinghy if you want to mount the Mac host volumes inside boot2docker via NFS. We have a Vagrantfile that does this, but dinghy packages it all up nicely.

At the end of the day though, Docker as a development environment is really bad on OS X until a VM vendor fixes file share performance. I really wish Docker would make it a priority to have decent Mac support.

Re:Announcing Docker ToolBox by huslage on Thursday August 13, 2015 @09:22AM (#10053931)
VMware Fusion has fine performance on shared folders. I use it all the time with docker-machine.
Re:Announcing Docker ToolBox by Rapzid on Thursday August 13, 2015 @05:55AM (#10053096)
Shared folder performance has been a known issue for as long as I can remember, with the recommended solution being to use NFS.. Is this not possible on OSX?
Re:Announcing Docker ToolBox by scprodigy on Thursday August 13, 2015 @11:04PM (#10058419)