From 7f5cb98eded04cfc1c7fb3542888da28bf1239e5 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 Upstream-commit: 904cadc0c23d938768d086612cf517df216b48c9 Component: cli --- components/cli/docs/extend/plugins_volume.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/cli/docs/extend/plugins_volume.md b/components/cli/docs/extend/plugins_volume.md index 6ab4bfbd7f..98418b735b 100644 --- a/components/cli/docs/extend/plugins_volume.md +++ b/components/cli/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**: ```