1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Update volumes userguide

Fixes #15644

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi 2015-08-18 12:16:26 -07:00
parent 215a1136f7
commit cc2aab7816

View file

@ -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. The output should look something similar to the following:
... ...
"Volumes": { Mounts": [
"/webapp": "/var/lib/docker/volumes/fac362...80535" {
}, "Name": "fac362...80535",
"VolumesRW": { "Source": "/var/lib/docker/volumes/fac362...80535/_data",
"/webapp": true "Destination": "/webapp",
} "Driver": "local",
"Mode": "",
"RW": true
}
]
... ...
You will notice in the above 'Volumes' is specifying the location on the host and You will notice in the above 'Source' is specifying the location on the host and
'VolumesRW' is specifying that the volume is read/write. '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 ### Mount a host directory as a data volume