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
rclone
command by default, which prints help). I can't runrclone config
through docker-compose as this command is interactive anddocker-compose
is not. Am I supposed to log in inside container and runrclone config
or generate config outside container and then copy/paste it inside? - How to keep it running? As you can see in my
docker-compose
config, I've tried to usetail -f /dev/null
to keep it running, but it doesn't work in this case. Container keeps restarting.
Thank you in advance for your help.