-
Notifications
You must be signed in to change notification settings - Fork 39
Only syncs once using Docker for Mac #28
Comments
The initial sync takes a ton of time for big file trees. You might try looking at the container logs to see when it's done with the initial sync. |
@cweagans have you looked at Mutagen? (mutagen.io) . It is very similar to Unison but has direct support for bi-directional syncing into docker containers. And so far it doesn't seem to have the stability issues that Unison had (crashing after syncing very large trees). Also has a good "mutagen monitor" command for seeing exactly what it's doing locally rather than looking at log files. Been using it instead of Unison on other Docker for Mac projects for the past couple of weeks and have been very impressed with its performance and stability. I wouldn't run Mutagen inside a container like Unison. For me it completely replaced the need for any sort of "docker-bg-sync" tool. Even though I normally hate installing more stuff locally, it's a small "brew install" and works so easily and fast it was worth it for me. |
Thanks! I probably won't use it since it requires installing stuff on the host, but it's definitely good to know about. |
Hey @cweagans, thanks for the answer. Definitely it takes time the first time because it's a big tree, but after that it just doesn't detect new changes. Maybe it's related to the problem that @mike-potter mentioned (crashing after syncing large trees). However, it works if I create a cron job and check every minute instead of using |
I got the info that the sync staste was zero, and the sync could take a while, but the container log didn't give any clue about when it was over. I assumed it was over when PS: I can't see unison's output like:
[SOLVED]: probably by adding |
Hey, could it be changed to make the first sync in a first call to unisson? Then gives a message and start syncing normally? I read somewhere that unisson preservers the sync state across restarts? |
The sync works nicely the first time, but after doing changes, I can see the updates in /source but no in the destination folder.
I think I'm having the same problem as Mike here: #8, but I'm definitely using Docker for Mac. I can see:
/Users/aromero2/dev/iop/Common is the sync destination.
Any idea?
The text was updated successfully, but these errors were encountered: