mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update response content for volume mounts
Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
This commit is contained in:
parent
47d87d3b92
commit
6a04ecf813
2 changed files with 10 additions and 3 deletions
|
@ -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": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
...
|
...
|
||||||
|
|
Loading…
Add table
Reference in a new issue