mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-06 08:11:54 +00:00
.. | ||
bootstrap.sh | ||
Dockerfile | ||
README.md | ||
sync.sh |
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:arm
Add remote
docker exec -it rclone rclone config
Sync
Rewrite file /home/rclone/sync.sh
and restart the rclone container, done!