This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Description
After quite some trial and error I noticed I can only remove volumes after I ran "docker sytem prune --volumes". Is this the intended behaviour? If so it would be good to put this in the readme?
Ran steps:
- installing the plugin as: docker plugin install --grant-all-permissions vieux/sshfs sshkey.source=/root/.ssh/
- setting up public/private key for root (sudo -i , then ssh-keygen -b 4096 -t rsa )
- setting up the volume: docker volume create -d vieux/sshfs -o sshcmd=user@192.168.1.1:/home/user/ sshvolume
- using the volume: docker run -it -v sshvolume:/data ubuntu
- removing the volume by "docker volume rm sshvolume" gives "Error response from daemon: remove sshvolume: volume is in use"
- run "docker system prune --volumes"
- remove by "docker volume rm sshvolume" (succes!)