Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Ability to query policies when creating Docker Volume #421

Closed
lamw opened this issue May 27, 2016 · 1 comment
Closed

Ability to query policies when creating Docker Volume #421

lamw opened this issue May 27, 2016 · 1 comment
Milestone

Comments

@lamw
Copy link

lamw commented May 27, 2016

VI Admins can create VSAN policies which then are consumed by end users (Developers) when creating the Docker Volumes. However, it doesn't look like Docker can query the plugin capabilities today which would mean the VI Admin must then communicate this info to all the Developers which isn't really a scalable solution.

@pdhamdhere pdhamdhere added this to the v1 GA milestone May 31, 2016
@msterin
Copy link
Contributor

msterin commented Jun 11, 2016

As a poor man solution, and given Docker is missing any APIs for communicating extra info,
I suggest to report list of avail policies on command line failure:
docker volume create --driver=vmdk --name=doesnotmatter -o policy=some-bad-name
and we'll reply with Error: no such policy: some-bad-name. Available policies are : <list...>

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

6 participants