Add volume API/CLI

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff
2015-06-12 09:25:32 -04:00
committed by Tibor Vass
parent f4060b1f65
commit 1f10226bfd
10 changed files with 269 additions and 2 deletions

View File

@ -52,13 +52,15 @@ containers.
**Request**:
```
{
"Name": "volume_name"
"Name": "volume_name",
"Opts": {}
}
```
Instruct the plugin that the user wants to create a volume, given a user
specified volume name. The plugin does not need to actually manifest the
volume on the filesystem yet (until Mount is called).
Opts is a map of driver specific options passed through from the user request.
**Response**:
```