$ curl -o sync.sh https://gist.githubusercontent.com/Jupiterrr/5348f7f95df7de2888f0/raw/686aa3f7b1de0b5e13bfefaf63b42c398b9b021b/sync.sh
$ sh sync.sh
To mount your current directroy into a container you need to reference /home/docker/share
:
$ docker run -v /home/docker/share:/share busybox ls /share
Use the .rsyncignore
file to ignore files or directories you don't want to sync.