Hello,
I find the official documentation on setting up rclone with Docker rather confusing, I've got a few questions on how am I actually meant to use it. I would be very grateful if someone would share working configuration of rclone on Docker.
Here is my current Docker-compose config:
version: "3.4"
services:
rclone_backup:
image: rclone/rclone:latest
container_name: rclone_backup
restart: unless-stopped
volumes:
- ./rclone/config:/config/rclone
user: "${UID}:${GID}"
command: tail -f /dev/null
- How to do actual configuration of rclone? I've pulled rclone's docker image, but executing it does nothing interesting (it runs
rclonecommand by default, which prints help). I can't runrclone configthrough docker-compose as this command is interactive anddocker-composeis not. Am I supposed to log in inside container and runrclone configor generate config outside container and then copy/paste it inside? - How to keep it running? As you can see in my
docker-composeconfig, I've tried to usetail -f /dev/nullto keep it running, but it doesn't work in this case. Container keeps restarting.
Thank you in advance for your help.