Merge pull request #15671 from tonistiigi/fix-volume-userguide

Update volumes userguide
This commit is contained in:
moxiegirl 2015-08-18 18:57:24 -07:00
Родитель 5fccbd1243 cc2aab7816
Коммит aacb47d628
1 изменённых файлов: 13 добавлений и 8 удалений

Просмотреть файл

@ -74,16 +74,21 @@ The output will provide details on the container configurations including the
volumes. The output should look something similar to the following:
...
"Volumes": {
"/webapp": "/var/lib/docker/volumes/fac362...80535"
},
"VolumesRW": {
"/webapp": true
}
Mounts": [
{
"Name": "fac362...80535",
"Source": "/var/lib/docker/volumes/fac362...80535/_data",
"Destination": "/webapp",
"Driver": "local",
"Mode": "",
"RW": true
}
]
...
You will notice in the above 'Volumes' is specifying the location on the host and
'VolumesRW' is specifying that the volume is read/write.
You will notice in the above 'Source' is specifying the location on the host and
'Destination' is specifying the volume location inside the container. `RW` shows
if the volume is read/write.
### Mount a host directory as a data volume