Run example with ssh keys from host: docker run -d --restart unless-stopped --name gitwatch -v /root/.ssh/:/root/.ssh/ -v /opt/repo_to_sync/:/repo -v /root/.gitconfig:/root/.gitconfig salanki:gitwatch -r origin /repo