I can\'t figure out a good way to set up a development environment on OS X using Docker and Boot2Docker. The problem I\'m hitting is how to manage the source
Disclaimer: I might be biased, since I am the author of docker-sync.
I probably tried all the solutions named here, including some more (see the compersion https://github.com/EugenMayer/docker-sync/wiki/Alternatives-to-docker-sync), but they basically either failed on the side of performance (most of them) or on the docker-machine (or none) used / enforced.
http://docker-sync.io has been built to merge all the solutions and provide the best strategies (implementing several, you can choose).
It can be used with rsync (1 way sync) including permission fixes for users, and with unison (2 way sync). It does neither force you into docker-machine or a specific hypervisor, nor requires you to have docker for Mac. It works with all of them.
The performance EugenMayer/docker-sync/wiki/4.-Performance is not influenced, it's like you have no shares at all.
docker-sync and its change-watchers are optimized and do work with projects with 12k files without issues.
Give it a try, if you like, I would love to hear feedback!