Skip to content

2-shell/docker-rsync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

rsync Docker image

What is this?

rsync is a well-known utility, commonly found on unix systems, for efficently synchronizing files and directories, by checking timestamps, sizes and/or chechsums of files. This works on local files and remote directories, e.g. via ssh, thus serving as a secure file transfer tool.

This simple alpine based image simply contains rsync and the openssh client.

How to use this image

Simple synchronization of local directories

docker run --rm -it -v /tmp/foo:/source:ro -v /tmp/bar:/destiation 2shell/rsync -rv /source/ /destiation/

Filetransfer via SSH

docker run --rm -it -v $HOME/.ssh:/root/.ssh:ro -v /tmp/foo:/source:ro 2shell/rsync -rv /source/ user@host:/tmp/foo/

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%