How to make a file available to a plugin

I checked, the plugin runs in the same container in which the docker daemon, so the problem could be that rclone requires a local folder, not a remote and what we tried, would have been a remote. I used rclone about a year ago and I don’t remember all the configurations, but you can create a Docker volume, copy your config to that volume and specify that for the plugin.

docker volume create rclone-plugin
docker run --rm -v /c/rclonex:/data -v rclone-plugin:/volume bash cp -R /data/. /volume/. 
docker plugin install rclone/docker-volume-rclone:amd64 --alias rclone --grant-all-permissions args="-v --allow-other" config="/var/lib/docker/volumes/rclone-plugin/_data" cache="/var/lib/docker/volumes/rclone-plugin/_data"

i wouldn’t use volumes this way, but I couldn’t find other ways and it at least proves that it can work, but it requires a local folder in the VM

Note: Please use the code blocks next time as I did, following this guide: How to format your forum posts

1 Like