浏览代码

docs: Explain volume_name in POST /container Binds

Signed-off-by: Lorenz Leutgeb <lorenz.leutgeb@gmail.com>
Lorenz Leutgeb 9 年之前
父节点
当前提交
2bd2893b92
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/reference/api/docker_remote_api_v1.21.md

+ 2 - 0
docs/reference/api/docker_remote_api_v1.21.md

@@ -264,6 +264,8 @@ Json Parameters:
            + `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.
+           + `volume_name:container_path:ro` to make the bind mount read-only inside the container.
     -   **Links** - A list of links for the container. Each link entry should be
           in the form of `container_name:alias`.
     -   **LxcConf** - LXC specific configurations. These configurations only