moby--moby/plugin
Anusha Ragunathan 2039ea6adc Enforce zero plugin refcount during disable.
When plugins have a positive refcount, they were not allowed to be
removed. However, plugins could still be disabled when volumes
referenced it and containers using them were running.

This change fixes that by enforcing plugin refcount during disable.
A "force" disable option is also added to ignore reference refcounting.

Signed-off-by: Anusha Ragunathan <anusha@docker.com>
(cherry picked from commit 8cb2229cd1)
2016-12-27 13:19:25 -08:00
..
distribution remove old media type compat for plugins 2016-12-12 13:25:27 -08:00
store Use GetByName to check for collision before create any context in plugin creation 2016-12-27 12:10:11 -08:00
v2 fix devices in plugins 2016-12-15 22:19:28 -08:00
backend_linux.go Enforce zero plugin refcount during disable. 2016-12-27 13:19:25 -08:00
backend_unsupported.go Enforce zero plugin refcount during disable. 2016-12-27 13:19:25 -08:00
manager.go Make graphdriver plugin use plugin BasePath 2016-12-15 22:19:22 -08:00
manager_linux.go Fix issues with plugin and `--live-restore` 2016-12-13 19:56:44 -08:00
manager_solaris.go Make v2/Plugin accesses safe. 2016-12-09 14:13:13 -08:00
manager_windows.go Make v2/Plugin accesses safe. 2016-12-09 14:13:13 -08:00