Browse code

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 <rsmoorthy@gmail.com>

rsmoorthy authored on 2015/11/03 19:44:38
Showing 1 changed files
... ...
@@ -101,7 +101,9 @@ Respond with a string error if an error occurred.
101 101
 ```
102 102
 
103 103
 Docker requires the plugin to provide a volume, given a user specified volume
104
-name. This is called once per container start.
104
+name. This is called once per container start. If the same volume_name is requested
105
+more than once, the plugin may need to keep track of each new mount request and provision
106
+at the first mount request and deprovision at the last corresponding unmount request.
105 107
 
106 108
 **Response**:
107 109
 ```