mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Document Volumes and Binds
Signed-off-by: Jean-Paul Calderone <jean-paul@clusterhq.com>
This commit is contained in:
parent
22bd54be4a
commit
8e70d553f9
1 changed files with 7 additions and 0 deletions
|
@ -155,6 +155,8 @@ Json Parameters:
|
|||
exit code is non-zero. If `on-failure` is used, `MaximumRetryCount`
|
||||
controls the number of times to retry before giving up.
|
||||
The default is not to restart. (optional)
|
||||
- **Volumes** – An object mapping mountpoint paths (strings) inside the
|
||||
container to empty objects.
|
||||
- **config** – the container's configuration
|
||||
|
||||
Query Parameters:
|
||||
|
@ -445,6 +447,11 @@ Start the container `id`
|
|||
|
||||
Json Parameters:
|
||||
|
||||
- **Binds** – A list of volume bindings for this container. Each volume
|
||||
binding is a string of the form `container_path` (to create a new
|
||||
volume for the container), `host_path:container_path` (to bind-mount
|
||||
a host path into the container), or `host_path:container_path:ro`
|
||||
(to make the bind-mount read-only inside the container).
|
||||
- **hostConfig** – the container's host configuration (optional)
|
||||
|
||||
Status Codes:
|
||||
|
|
Loading…
Reference in a new issue