From 4d9b8bae25a89e3def7166d260b45f9c9e78ba9a Mon Sep 17 00:00:00 2001 From: rsmoorthy Date: Tue, 3 Nov 2015 16:14:38 +0530 Subject: [PATCH] multiple mount/unmount req with same volume name Updating docs to handle mount/unmount requests with same volume name. Issue #17585 Signed-off-by: Moorthy RS --- docs/extend/plugins_volume.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/extend/plugins_volume.md b/docs/extend/plugins_volume.md index 6ab4bfbd7f..98418b735b 100644 --- a/docs/extend/plugins_volume.md +++ b/docs/extend/plugins_volume.md @@ -101,7 +101,9 @@ Respond with a string error if an error occurred. ``` Docker requires the plugin to provide a volume, given a user specified volume -name. This is called once per container start. +name. This is called once per container start. If the same volume_name is requested +more than once, the plugin may need to keep track of each new mount request and provision +at the first mount request and deprovision at the last corresponding unmount request. **Response**: ```