What is the problem you are having with rclone?
The docker plugin fails to mount a volume in my docker container.
Run the command 'rclone version' and share the full output of the command.
rclone v1.69.1
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.8.0-60-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.0
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
pCloud
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[pcloud]
type = pcloud
hostname = api.pcloud.com
token = XX
Installed docker plugin:
$ docker plugin install rclone/docker-volume-rclone:amd64 args="-vv" --alias rclone --grant-all-permissions
amd64: Pulling from rclone/docker-volume-rclone
Digest: sha256:17a6e31c921e2b29bc1d7116f720feed93ee07e098309febf733b880aa078e40
fb13d91cf08f: Complete
Installed plugin rclone/docker-volume-rclone:amd64
$ docker plugin ls
ID NAME DESCRIPTION ENABLED
9e498dbfb1d4 rclone:latest Rclone volume plugin for Docker true
Upon attempting to create a volume, i get this error in journalctl:
dockerd[1032]: time="2025-07-04T23:49:18.995729496-04:00" level=warning msg="Unable to connect to plugin: plugin.moby.localhost/VolumeDriver.Get: Post \"http://plugin.moby.localhost/VolumeDriver.Get\": dial unix /run/docker/plugins/rclone.sock: connect: no such file or directory, retrying in 1s"
If i symlink it and try again, it works:
$ ln -s /run/docker/plugins/9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25/rclone.sock /run/docker/plugins/rclone.sock
$ docker volume create firstvolume -d rclone -o remote="pcloud:" -o allow-other="true"
firstvolume
$ docker volume ls
DRIVER VOLUME NAME
rclone firstvolume
journalctl for creation:
Jul 04 23:52:02 hyzenberg dockerd[1032]: time="2025-07-04T23:52:02-04:00" level=error msg="2025/07/05 03:52:02 DEBUG : /VolumeDriver.Get: Request returned error: volume not found" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:52:02 hyzenberg dockerd[1032]: time="2025-07-04T23:52:02-04:00" level=error msg="2025/07/05 03:52:02 DEBUG : Create volume \"firstvolume\"" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:52:02 hyzenberg dockerd[1032]: time="2025-07-04T23:52:02-04:00" level=error msg="2025/07/05 03:52:02 DEBUG : Setup volume \"firstvolume\" as \"pcloud:\" at path /mnt/firstvolume" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:52:02 hyzenberg dockerd[1032]: time="2025-07-04T23:52:02-04:00" level=error msg="2025/07/05 03:52:02 DEBUG : Creating backend with remote \"pcloud:\"" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:52:02 hyzenberg dockerd[1032]: time="2025-07-04T23:52:02-04:00" level=error msg="2025/07/05 03:52:02 DEBUG : Save state [firstvolume] to /data/cache/docker-plugin.state" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Upon running a test image, the mount fails:
$ docker run --rm -v firstvolume:/mnt alpine ls /mnt
docker: Error response from daemon: open /mnt/firstvolume: no such file or directory
Run 'docker run --help' for more information
journalctl:
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : Mount volume \"firstvolume\" for id \"8028e3c9f8d044b1d19027c4e98b681e51ee97382bb295b63e608b1aac11ed5f\" at path /mnt/firstvolume (count 0)" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 INFO : pcloud root '': poll-interval is not supported by this remote" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 NOTICE: pcloud root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : pcloud root '': Mounting on \"/mnt/firstvolume\"" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : Save state [firstvolume] to /data/cache/docker-plugin.state" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : Root: " plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : >Root: node=/, err=<nil>" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : Monitoring 1 volumes" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : Unmount volume \"firstvolume\" from id \"8028e3c9f8d044b1d19027c4e98b681e51ee97382bb295b63e608b1aac11ed5f\" at path /mnt/firstvolume (count 1)" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 INFO : Volume \"firstvolume\" unmounted externally" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : Save state [firstvolume] to /data/cache/docker-plugin.state" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : Monitoring 0 volumes" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18-04:00" level=error msg="2025/07/05 03:53:18 DEBUG : Monitoring 0 volumes" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:53:18 hyzenberg dockerd[1032]: time="2025-07-04T23:53:18.909926610-04:00" level=error msg="Handler for POST /v1.48/containers/create returned error: open /mnt/firstvolume: no such file or directory"
Jul 04 23:54:03 hyzenberg dockerd[1032]: time="2025-07-04T23:54:03-04:00" level=error msg="2025/07/05 03:54:03 DEBUG : List: [firstvolume]" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
Jul 04 23:54:03 hyzenberg dockerd[1032]: time="2025-07-04T23:54:03-04:00" level=error msg="2025/07/05 03:54:03 DEBUG : List: [firstvolume]" plugin=9e498dbfb1d4aa7f658f115b8fc448e4ad9e0280a308f13929a80222183aab25
docker plugin inspect rclone
: [ { "Config": { "Args": { "Descripti - Pastebin.com
docker plugin state:
$ cat /var/lib/docker-plugins/rclone/cache/docker-plugin.state
[{"name":"firstvolume","mountpoint":"/mnt/firstvolume","created":"2025-07-05T03:52:02.688711345Z","fs":"pcloud:","options":{"allow-other":"true"},"mounts":[]}]
A manual rclone mount on the host using the same config with rclone mount pcloud: /mnt
works properly.