From ad2a9f3d1e61291ec6892b4ffc7414592daeb930 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Mon, 13 Jun 2016 14:22:48 +1000 Subject: [PATCH] Merge pull request #23478 from cpuguy83/22833_optional_mountpoint_docs Clarify volume plugin `Mountpoint` is optional (cherry picked from commit 9a8affb0ffdf6010fca6a1c8fb00c9e0a38845d6) Signed-off-by: Sebastiaan van Stijn --- docs/extend/plugins_volume.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/extend/plugins_volume.md b/docs/extend/plugins_volume.md index cb1bebf581..d008738811 100644 --- a/docs/extend/plugins_volume.md +++ b/docs/extend/plugins_volume.md @@ -140,7 +140,8 @@ Docker needs reminding of the path to the volume on the host. ``` Respond with the path on the host filesystem where the volume has been made -available, and/or a string error if an error occurred. +available, and/or a string error if an error occurred. `Mountpoint` is optional, +however the plugin may be queried again later if one is not provided. ### /VolumeDriver.Unmount @@ -188,7 +189,8 @@ Get the volume info. } ``` -Respond with a string error if an error occurred. +Respond with a string error if an error occurred. `Mountpoint` and `Status` are +optional. ### /VolumeDriver.List @@ -213,4 +215,4 @@ Get the list of volumes registered with the plugin. } ``` -Respond with a string error if an error occurred. +Respond with a string error if an error occurred. `Mountpoint` is optional.