瀏覽代碼

Merge pull request #16017 from flowlo/master

docs: Explain volume_name in POST /container Binds
Sebastiaan van Stijn 9 年之前
父節點
當前提交
b96e076af9
共有 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

@@ -265,6 +265,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