mirror of
https://github.com/rclone/rclone
synced 2024-11-21 22:50:16 +01:00
Expanded docker volume plugin documentation
This proposal expande the current docker volume plugin troubleshooting possible steps to inclue a state cleanup command and a reminder that a un/reinstall don't clean up those cache files.
This commit is contained in:
parent
d975196cfa
commit
6262241c53
@ -536,6 +536,13 @@ sudo curl -H Content-Type:application/json -XPOST -d {} --unix-socket /run/docke
|
||||
```
|
||||
though this is rarely needed.
|
||||
|
||||
If the plugin fail to work properly, and only In last resort after you tried diagnosing with the above methods, you can try clearing the state of the plugin. **Note that all exiting rclone docker volume will probably have to be recreated** (This might be needed as a reinstall don't cleanup existing state files to allow for easy restoration, as stated above.)
|
||||
```
|
||||
docker plugin disable rclone # disable the plugin to ensure no interference
|
||||
sudo rm /var/lib/docker-plugins/rclone/cache/docker-plugin.state # removing the plugin state
|
||||
docker plugin enable rclone # re-enable the plugin afterward
|
||||
```
|
||||
|
||||
## Caveats
|
||||
|
||||
Finally I'd like to mention a _caveat with updating volume settings_.
|
||||
|
Loading…
Reference in New Issue
Block a user