Is this the docker-sync from http://docker-sync.io/?
And what are you gaining by using it? If it is file syncing from you local environment to the container, you are already accomplishing that with the volumes
tag in docker-compose-dev.yml
.
Also, if you are running docker-compose up
why are you using docker run
? Perhaps I am not understanding all of your requirements/environment.