1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/volume
Brian Goff d3eca4451d Move responsibility of ls/inspect to volume driver
Makes `docker volume ls` and `docker volume inspect` ask the volume
drivers rather than only using what is cached locally.

Previously in order to use a volume from an external driver, one would
either have to use `docker volume create` or have a container that is
already using that volume for it to be visible to the other volume
API's.

For keeping uniqueness of volume names in the daemon, names are bound to
a driver on a first come first serve basis. If two drivers have a volume
with the same name, the first one is chosen, and a warning is logged
about the second one.

Adds 2 new methods to the plugin API, `List` and `Get`.
If a plugin does not implement these endpoints, a user will not be able
to find the specified volumes as well requests go through the drivers.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-01-05 16:28:38 -05:00
..
drivers Move responsibility of ls/inspect to volume driver 2016-01-05 16:28:38 -05:00
local Move responsibility of ls/inspect to volume driver 2016-01-05 16:28:38 -05:00
store Move responsibility of ls/inspect to volume driver 2016-01-05 16:28:38 -05:00
testutils Move responsibility of ls/inspect to volume driver 2016-01-05 16:28:38 -05:00
volume.go Move responsibility of ls/inspect to volume driver 2016-01-05 16:28:38 -05:00
volume_propagation_linux.go Add capability to specify mount propagation per volume 2015-12-14 10:39:53 -05:00
volume_propagation_linux_test.go Add some unit and integration tests 2015-12-14 10:39:53 -05:00
volume_propagation_unsupported.go Add capability to specify mount propagation per volume 2015-12-14 10:39:53 -05:00
volume_test.go Move volume.SplitN() to the one place it is used in runconfig. 2016-01-04 12:06:30 -05:00
volume_unix.go Fix downstream client API build errors on Solaris 2015-12-30 18:25:42 -05:00
volume_windows.go Merge pull request #17034 from rhvgoyal/volume-propagation 2015-12-15 12:14:41 -05:00