Error enabling docker plugin

What is the problem you are having with rclone?

After upgrading docker on Ubuntu 24.04 LTS, the rclone volume management plugin fails during enabling.

Run the command 'rclone version' and share the full output of the command.

I ran the docker plugin inspect rclone command, hoping it might be useful.

[
    {
        "Config": {
            "Args": {
                "Description": "",
                "Name": "args",
                "Settable": [
                    "value"
                ],
                "Value": []
            },
            "Description": "Rclone volume plugin for Docker",
            "DockerVersion": "26.1.3",
            "Documentation": "https://rclone.org/docker",
            "Entrypoint": [
                "rclone",
                "serve",
                "docker"
            ],
            "Env": [
                {
                    "Description": "",
                    "Name": "RCLONE_VERBOSE",
                    "Settable": [
                        "value"
                    ],
                    "Value": "0"
                },
                {
                    "Description": "",
                    "Name": "RCLONE_CONFIG",
                    "Settable": null,
                    "Value": "/data/config/rclone.conf"
                },
                {
                    "Description": "",
                    "Name": "RCLONE_CACHE_DIR",
                    "Settable": null,
                    "Value": "/data/cache"
                },
                {
                    "Description": "",
                    "Name": "RCLONE_BASE_DIR",
                    "Settable": null,
                    "Value": "/mnt"
                },
                {
                    "Description": "",
                    "Name": "HTTP_PROXY",
                    "Settable": [
                        "value"
                    ],
                    "Value": ""
                },
                {
                    "Description": "",
                    "Name": "HTTPS_PROXY",
                    "Settable": [
                        "value"
                    ],
                    "Value": ""
                },
                {
                    "Description": "",
                    "Name": "NO_PROXY",
                    "Settable": [
                        "value"
                    ],
                    "Value": ""
                }
            ],
            "Interface": {
                "Socket": "rclone.sock",
                "Types": [
                    "docker.volumedriver/1.0"
                ]
            },
            "IpcHost": false,
            "Linux": {
                "AllowAllDevices": false,
                "Capabilities": [
                    "CAP_SYS_ADMIN"
                ],
                "Devices": [
                    {
                        "Description": "",
                        "Name": "",
                        "Path": "/dev/fuse",
                        "Settable": null
                    }
                ]
            },
            "Mounts": [
                {
                    "Description": "",
                    "Destination": "/data/config",
                    "Name": "config",
                    "Options": [
                        "rbind"
                    ],
                    "Settable": [
                        "source"
                    ],
                    "Source": "/var/lib/docker-plugins/rclone/config",
                    "Type": "bind"
                },
                {
                    "Description": "",
                    "Destination": "/data/cache",
                    "Name": "cache",
                    "Options": [
                        "rbind"
                    ],
                    "Settable": [
                        "source"
                    ],
                    "Source": "/var/lib/docker-plugins/rclone/cache",
                    "Type": "bind"
                }
            ],
            "Network": {
                "Type": "host"
            },
            "PidHost": false,
            "PropagatedMount": "/mnt",
            "User": {},
            "WorkDir": "/data",
            "rootfs": {
                "diff_ids": [
                    "sha256:07089615a2e46964e098dfc08812c96f36627512f57e3da2745b32271186507f"
                ],
                "type": "layers"
            }
        },
        "Enabled": false,
        "Id": "8c67b4a5567e930dbdf0b26c65577163d950b065d2184359bb49ecd2ea255313",
        "Name": "rclone:latest",
        "PluginReference": "docker.io/rclone/docker-volume-rclone:amd64",
        "Settings": {
            "Args": [
                "-v"
            ],
            "Devices": [
                {
                    "Description": "",
                    "Name": "",
                    "Path": "/dev/fuse",
                    "Settable": null
                }
            ],
            "Env": [
                "RCLONE_VERBOSE=0",
                "RCLONE_CONFIG=/data/config/rclone.conf",
                "RCLONE_CACHE_DIR=/data/cache",
                "RCLONE_BASE_DIR=/mnt",
                "HTTP_PROXY=",
                "HTTPS_PROXY=",
                "NO_PROXY="
            ],
            "Mounts": [
                {
                    "Description": "",
                    "Destination": "/data/config",
                    "Name": "config",
                    "Options": [
                        "rbind"
                    ],
                    "Settable": [
                        "source"
                    ],
                    "Source": "/var/lib/docker-plugins/rclone/config",
                    "Type": "bind"
                },
                {
                    "Description": "",
                    "Destination": "/data/cache",
                    "Name": "cache",
                    "Options": [
                        "rbind"
                    ],
                    "Settable": [
                        "source"
                    ],
                    "Source": "/var/lib/docker-plugins/rclone/cache",
                    "Type": "bind"
                }
            ]
        }
    }
]

Which cloud storage system are you using? (eg Google Drive)

Crypt + OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

sudo docker plugin install rclone/docker-volume-rclone:amd64 args="-v" --alias rclone --grant-all-permissions

The rclone config contents with secrets removed.

I don't think it's relevant to the bug, so for privacy I'm not including it for now. In case I will send it without any problems :slight_smile:

A log from the command with the -vv flag

amd64: Pulling from rclone/docker-volume-rclone
Digest: sha256:8a62180656ec6fb00dd0d694e3dc1c4d130e4a5e71bd4c2c3771ee199801c06b
07089615a2e4: Complete 
Error response from daemon: dial unix /run/docker/plugins/8c67b4a5567e930dbdf0b26c65577163d950b065d2184359bb49ecd2ea255313/rclone.sock: connect: no such file or directory

Addendum: I have already tried removing and reinstalling the plugin.