瀏覽代碼

Update response content for volume mounts

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
Kai Qiang Wu(Kennan) 9 年之前
父節點
當前提交
6a04ecf813
共有 2 個文件被更改,包括 10 次插入3 次删除
  1. 8 2
      docs/reference/api/docker_remote_api_v1.22.md
  2. 2 1
      docs/userguide/dockervolumes.md

+ 8 - 2
docs/reference/api/docker_remote_api_v1.22.md

@@ -220,10 +220,13 @@ Create a container
            },
            "Mounts": [
              {
+               "Name": "fac362...80535",
                "Source": "/data",
                "Destination": "/data",
+               "Driver": "local",
                "Mode": "ro,Z",
-               "RW": false
+               "RW": false,
+               "Propagation": ""
              }
            ],
            "WorkingDir": "",
@@ -572,10 +575,13 @@ Return low-level information on the container `id`
 		},
 		"Mounts": [
 			{
+				"Name": "fac362...80535",
 				"Source": "/data",
 				"Destination": "/data",
+				"Driver": "local",
 				"Mode": "ro,Z",
-				"RW": false
+				"RW": false,
+				"Propagation": ""
 			}
 		]
 	}

+ 2 - 1
docs/userguide/dockervolumes.md

@@ -73,7 +73,8 @@ volumes. The output should look something similar to the following:
             "Destination": "/webapp",
             "Driver": "local",
             "Mode": "",
-            "RW": true
+            "RW": true,
+            "Propagation": ""
         }
     ]
     ...