What do you use to sync Docker during local dev?
I have a team that works with w/m/lamp stacks and mean stacks. In order to streamline onboarding new devs, I'd like to move to Docker. We have Windows and Mac devs.
The catch I'm having is that you can't edit a file in Docker and see the changes in the docker environment. Synced/mounted folders are sketchy at best. Files stop getting monitored because they're destroyed by an editor like Vim, or something the sync'd folder is completely empty.
Tried: vboxsf -- Doesn't always mount folders Tried: nfs -- Doesn't work in Windows
The best tool seems like rsync, but I haven't put the time into it, because I've lost so much time already just fighting with this one issue. Everything else is working. Docker builds the SQL (or Mongo) servers, provisions them, and even deploys them to the cloud.
Please help me with my local dev woes! One thing I'm working towards on a Mac is to have a NFS server VM, and storing the working files in the exported NFS share. This sidesteps the vboxsf rubbishness, and changes the problem from the host needing a server to only needing a client. I think nekodrive should work for this on Windows, but I've not tried it. Mac works fine. That's an interesting way to resolve the issue. NFS works well for Mac, and I'm told it's unsupported on Windows, but setting up NFS in this way might work. Furthermore I might be able to find an NFS image for Docker that I could just fire up on the side...
/me ponders