Skip to content

docker volume rm fails on an unmounted volume #44

@trajano

Description

@trajano
  • Plugin version (or commit ref) : v1.01
  • Docker version : 18.03
  • Plugin type : legacy
  • Operating system: Linux

Description

  1. Create the volume
  2. Create a container that uses the volume
  3. stop the container
  4. umount the glusterfs mount
  5. docker volume rm fails with error code 32 in the logs because the mount point does not exist.

The scenario happens as well when you reboot the cluster.

I think a quick fix would be to check if there is a mount before doing a umount when doing an rm

rm -f still works though

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