Sign inSign up

newnius/rsync

By newnius

Updated over 5 years ago

Image
0

4.3K

newnius/rsync repository overview

Deploy rsync in docker

Deploy

Run as Server
docker run \
	--name rsync \
	-d \
	--restart always \
	--cpus 1.0 \
	--publish 873:873 \
	--mount type=bind,src=/etc/localtime,dst=/etc/localtime,readonly \
	--mount type=bind,src=/data/,dst=/data/ \
	--mount type=bind,src=/data/rsync/config/,dst=/config/ \
	newnius/rsync
Run as Client
docker run \
	-it \
	--rm \
	--cpus 1.0 \
	--name rsync \
	--env AUTH_USER=newnius \
	--env AUTH_PASSWORD=password \
	--mount type=bind,src=/etc/localtime,dst=/etc/localtime,readonly \
	--mount type=bind,src=/data/,dst=/data/ \
	newnius/rsync rsync -avzP --delete --password-file=/etc/rsyncd.secret [email protected]::data/ /data/

Tag summary

Content type

Image

Digest

Size

2.9 MB

Last updated

over 5 years ago

docker pull newnius/rsync