Merge pull request #19252 from HackToday/fix-vol-resp-doc

Update response content for volume mounts
This commit is contained in:
Vincent Demeester 2016-01-14 09:15:13 +01:00
commit 63525a6dc5
2 changed files with 10 additions and 3 deletions

View File

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

View File

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