Skip to content
This repository has been archived by the owner on Jan 17, 2018. It is now read-only.

List volumes does not work #20

Closed
sascha-egerer opened this issue Feb 23, 2016 · 6 comments
Closed

List volumes does not work #20

sascha-egerer opened this issue Feb 23, 2016 · 6 comments

Comments

@sascha-egerer
Copy link

The docker command docker volume ls does not list azurefile volumes.

@ahmetb
Copy link
Contributor

ahmetb commented Feb 23, 2016

@sascha-egerer Hi, could you explain the problem a bit more? Does it list native docker volumes or other driver volumes? What version of azurefile-dockervolumedriver and what version of docker are you running?

@sascha-egerer
Copy link
Author

@ahmetalpbalkan Here are some more infos:

$ docker info
Containers: 2
 Running: 2
 Paused: 0
 Stopped: 0
Images: 3
Server Version: 1.10.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 32
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local azurefile
 Network: bridge null host
Kernel Version: 3.19.0-49-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.36 GiB
$ azurefile-dockervolumedriver --version
azurefile-dockervolumedriver version 0.1
$ docker volume ls
DRIVER              VOLUME NAME
local               952644d6e9b77a7902312130caf0b655909ae27c9412965f82c65df5b50ca230
$ docker volume create -d azurefile -o share=foo --name=foo
foo
$ docker volume ls
DRIVER              VOLUME NAME
local               952644d6e9b77a7902312130caf0b655909ae27c9412965f82c65df5b50ca230
$ sudo ls /etc/docker/plugins/azurefile/volumes/
foo

Deleting the Volume does also not work. The volume stays there...

$ docker volume rm foo
foo
$ sudo ls /etc/docker/plugins/azurefile/volumes/
foo
$ docker volume rm foo
foo

@ahmetb
Copy link
Contributor

ahmetb commented Feb 24, 2016

I can repro this. thanks.

@ahmetb
Copy link
Contributor

ahmetb commented Feb 24, 2016

This is now fixed in master, feel free to compile yourself until I release a new version. (I'm planning to include the mode/uid feature in v1.1 as soon as I fully understand the use case.) Thanks for reporting.

@sascha-egerer
Copy link
Author

Tested it and it does work now.

@ahmetb
Copy link
Contributor

ahmetb commented Feb 29, 2016

@sascha-egerer thanks for testing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants