Dockerfiles/rclone/amd64
2019-07-31 19:17:06 +08:00
..
bootstrap.sh add rclone:arem 2019-07-31 19:17:06 +08:00
Dockerfile add rclone:arem 2019-07-31 19:17:06 +08:00
README.md add rclone:arem 2019-07-31 19:17:06 +08:00
sync.sh add rclone:arem 2019-07-31 19:17:06 +08:00

Deploy rclone in docker

Deploy

docker run \
	--name rclone \
	-d \
	--restart always \
	--cpus 0.2 \
	--mount type=bind,src=/etc/localtime,dst=/etc/localtime,readonly \
	--mount type=bind,src=/data/,dst=/data,readonly \
	--mount type=bind,src=/home/rclone/,dst=/root/ \
	newnius/rclone

Add remote

docker exec -it rclone rclone config

Sync

Rewrite file /home/rclone/sync.sh and restart the rclone container, done!

Reference

Install | rclone

ncw/rclone