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

Can only remove volume after running system prune --volumes #77

@sbriels

Description

@sbriels

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:

  1. installing the plugin as: docker plugin install --grant-all-permissions vieux/sshfs sshkey.source=/root/.ssh/
  2. setting up public/private key for root (sudo -i , then ssh-keygen -b 4096 -t rsa )
  3. setting up the volume: docker volume create -d vieux/sshfs -o sshcmd=user@192.168.1.1:/home/user/ sshvolume
  4. using the volume: docker run -it -v sshvolume:/data ubuntu
  5. removing the volume by "docker volume rm sshvolume" gives "Error response from daemon: remove sshvolume: volume is in use"
  6. run "docker system prune --volumes"
  7. remove by "docker volume rm sshvolume" (succes!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions