The docker image is build with rclone and restic already included. It's ment more as a utility image.
For remote backups (S3, B2, GCS, etc.) it's quite easy, as you only need to mount the config file and the data to backup.
1$docker run --rm \\2$ -v $(pwd):/data \\3$ cupcakearmy/autorestic \\4$ autorestic backup -va -c /data/.autorestic.yaml
For rclone you will have to also mount the rclone config file to
To check where it is located you can run the following command:
rclone config file.
1$docker run \\2$ -v /home/user/.config/rclone/rclone.conf:/root/.config/rclone/rclone.conf:ro \\3$ ...