Merge pull request #23478 from cpuguy83/22833_optional_mountpoint_docs
Clarify volume plugin `Mountpoint` is optional
(cherry picked from commit 9a8affb0ff
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
782e218be6
commit
ad2a9f3d1e
1 changed files with 5 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue