Dockerfile for rsync over ssh.
$ docker run \
--name some-rsync-over-ssh \
-p 192.168.0.254:2222:22 \
-v /docker/host/dir/authorized_keys:/etc/ssh/rsync/authorized_keys:ro \
-v /docker/host/dir/rsync:/rsync \
-d werekraken/rsync-over-ssh
FROM werekraken/rsync-over-ssh
COPY authorized_keys /etc/ssh/rsync/authorized_keys