diff --git a/docs/reference/api/docker_remote_api_v1.22.md b/docs/reference/api/docker_remote_api_v1.22.md index 2965943868..ecd7015ea3 100644 --- a/docs/reference/api/docker_remote_api_v1.22.md +++ b/docs/reference/api/docker_remote_api_v1.22.md @@ -233,6 +233,9 @@ Create a container "Propagation": "" } ], + "Volumes": { + "/volumes/data": {} + } "WorkingDir": "", "NetworkDisabled": false, "MacAddress": "12:34:56:78:9a:bc", @@ -349,7 +352,6 @@ Json Parameters: - **StopSignal** - Signal to stop a container as a string or unsigned integer. `SIGTERM` by default. - **HostConfig** - **Binds** – A list of volume bindings for this container. Each volume binding is a string in one of these forms: - + `container_path` to create a new volume for the container + `host_path:container_path` to bind-mount a host path into the container + `host_path:container_path:ro` to make the bind-mount read-only inside the container. + `volume_name:container_path` to bind-mount a volume managed by a volume plugin into the container. @@ -467,7 +469,9 @@ Return low-level information on the container `id` "StdinOnce": false, "Tty": false, "User": "", - "Volumes": null, + "Volumes": { + "/volumes/data": {} + }, "WorkingDir": "", "StopSignal": "SIGTERM" }, diff --git a/docs/reference/api/docker_remote_api_v1.23.md b/docs/reference/api/docker_remote_api_v1.23.md index 2f4a66a0fb..95fa21c433 100644 --- a/docs/reference/api/docker_remote_api_v1.23.md +++ b/docs/reference/api/docker_remote_api_v1.23.md @@ -252,6 +252,9 @@ Create a container "Propagation": "" } ], + "Volumes": { + "/volumes/data": {} + } "WorkingDir": "", "NetworkDisabled": false, "MacAddress": "12:34:56:78:9a:bc", @@ -368,7 +371,6 @@ Json Parameters: - **StopSignal** - Signal to stop a container as a string or unsigned integer. `SIGTERM` by default. - **HostConfig** - **Binds** – A list of volume bindings for this container. Each volume binding is a string in one of these forms: - + `container_path` to create a new volume for the container + `host_path:container_path` to bind-mount a host path into the container + `host_path:container_path:ro` to make the bind-mount read-only inside the container. + `volume_name:container_path` to bind-mount a volume managed by a volume plugin into the container. @@ -486,7 +488,9 @@ Return low-level information on the container `id` "StdinOnce": false, "Tty": false, "User": "", - "Volumes": null, + "Volumes": { + "/volumes/data": {} + }, "WorkingDir": "", "StopSignal": "SIGTERM" },