You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
Hi @blaggacao, as I told you on emcrisostomo/fswatch#88 it wouldn't be difficult writing a fswatch monitor for Windows. At the moment, thought, I'm not doing it because I lack time and other issues in the pipeline for fswatch.
I had a (very) quick glance to inotify-win but it doesn't look like the glue code you are thinking. Instead, it's a C# port of inotifywait tool.
@SvenDowideit : maybe a good starting point would be to preinstall rsync in the docker image, so that people who are akin to the topic but do not know the build details of the tc linux can start to find solutions.
Meanwhile, just log into boot2docker as normal docker user and copyenter: tce-load -wi rsync
The above comment has been updated with a complete bash script. This works under windows with cygwin. But the main concepts should work within the b2d cli as well...
It has to be discussed what should be the scope of an rsync triggered by a single file. If only the containing folder is synced, it support's most of the developing use cases, but remains speedy... (did I get that stright?)
Activity
schickling commentedon Apr 5, 2014
This seems like a perfect workaround for the folder sharing. Any intentions on implementing this?
riobard commentedon Apr 6, 2014
Personally I don't have any use for this, so I guess not :|
schickling commentedon Apr 6, 2014
So what are the further plans concerning folder sharing?
riobard commentedon Apr 6, 2014
I'm not sure. @SvenDowideit do you have any idea?
SvenDowideit commentedon Apr 7, 2014
I currently use samba to share a data volume - see https://github.com/SvenDowideit/dockerfiles/blob/master/samba/Makefile
I'm still poking it to see what improvements I can make - and magic syncing will be interesting
schickling commentedon May 30, 2014
Are you still using Samba @SvenDowideit ?
SvenDowideit commentedon May 30, 2014
very much so. Though I'm also looking forward to seeing the docker client based work by @bradfitz
schickling commentedon May 30, 2014
@SvenDowideit could you provide your current workaround in a document/wiki page?
Merge pull request boot2docker#66 from eugeneware/disable_frame_buffer
blaggacao commentedon Jul 12, 2015
Have a look at: https://github.com/brikis98/docker-osx-dev
It seems like a complete take, but unfortunately only on OS X.
blaggacao commentedon Jul 13, 2015
Digging through, I noticed that it doesn't work for windows, as they make use of the fswatch library. So I found https://github.com/thekid/inotify-win/ it's kind of a gluecode, mapping the FileSystemWatch api to an inotify command. I think a competent person, would be able to stick the peaces together. It might be worthwhile to monitor, what Enrico's opinion might be on emcrisostomo/fswatch#88
emcrisostomo commentedon Jul 13, 2015
Hi @blaggacao, as I told you on emcrisostomo/fswatch#88 it wouldn't be difficult writing a
fswatchmonitor for Windows. At the moment, thought, I'm not doing it because I lack time and other issues in the pipeline forfswatch.I had a (very) quick glance to inotify-win but it doesn't look like the glue code you are thinking. Instead, it's a C# port of
inotifywaittool.blaggacao commentedon Jul 13, 2015
@SvenDowideit : maybe a good starting point would be to preinstall rsync in the docker image, so that people who are akin to the topic but do not know the build details of the tc linux can start to find solutions.
Meanwhile, just log into boot2docker as normal docker user and copyenter:
tce-load -wi rsyncblaggacao commentedon Jul 13, 2015
A basic shell script implementation for windows, based on
/usr/binuse, put in
/usr/binasb2dsyncA re-implementation in go in the boot2docker cli should be however quite easy.
Bi-directional is not needed for the standard "developing on host, running on docker" case. But without this functionality it's really a pain.
However we would need better backend support as to the file system watch apis on the different systems.
mattes commentedon Jul 13, 2015
@blaggacao check out https://github.com/synack/docker-rsync, too.
blaggacao commentedon Jul 13, 2015
The above comment has been updated with a complete bash script. This works under windows with cygwin. But the main concepts should work within the b2d cli as well...
It has to be discussed what should be the scope of an rsync triggered by a single file. If only the containing folder is synced, it support's most of the developing use cases, but remains speedy... (did I get that stright?)