Skip to content

Commit

Permalink
Merge pull request moby#15671 from tonistiigi/fix-volume-userguide
Browse files Browse the repository at this point in the history
Update volumes userguide
  • Loading branch information
moxiegirl committed Aug 19, 2015
2 parents 5fccbd1 + cc2aab7 commit aacb47d
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions docs/userguide/dockervolumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit aacb47d

Please sign in to comment.