From cc2aab7816f555f58ef3ccaed16537989ac683a7 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Tue, 18 Aug 2015 12:16:26 -0700 Subject: [PATCH] Update volumes userguide Fixes #15644 Signed-off-by: Tonis Tiigi --- docs/userguide/dockervolumes.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/docs/userguide/dockervolumes.md b/docs/userguide/dockervolumes.md index f2aa70d3ad..d36f7f6fa5 100644 --- a/docs/userguide/dockervolumes.md +++ b/docs/userguide/dockervolumes.md @@ -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