I'm testing out Resilio (formerly BitTorrent) Sync using two docker containers on the same host, and I've noticed that syncing files is very slow when they are added via bind mounts.
First Resilio container:
docker run -d --name resilio1 -p 81:8888 -p 55555:55555 -v /c/Users/Test/resilio/resilio1/config:/mnt/sync -v /c/Users/Test/resilio/resilio1/data:/mnt/mounted_folders/data --restart on-failure resilio/sync
Second Resilio container (I've updated the configuration to listen on port 55556 to avoid a conflict with resilio1):
docker run -d --name resilio2 -p 82:8888 -p 55556:55556 -v /c/Users/Test/resilio/resilio2/config:/mnt/sync -v /c/Users/Test/resilio/resilio2/data:/mnt/mounted_folders/data --restart on-failure resilio/sync
It takes about 10 minutes for even small files to sync when they are added to the host's directories that are bind mounted into the containers.
Conversely, if I docker exec into the containers and create files or folders the syncing happens immediately.
Is there something I'm missing here?