From efb763aa10187e049fc6854e5a97efc410fcd214 Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Tue, 15 Dec 2015 20:23:56 +0100 Subject: [PATCH] Add note to volume docs that data is not copied to mounted volumes Signed-off-by: Candid Dauth --- docs/userguide/dockervolumes.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/userguide/dockervolumes.md b/docs/userguide/dockervolumes.md index 8c52c13be4..6f9940004c 100644 --- a/docs/userguide/dockervolumes.md +++ b/docs/userguide/dockervolumes.md @@ -29,7 +29,8 @@ containers that bypasses the [*Union File System*](../reference/glossary.md#unio - Volumes are initialized when a container is created. If the container's base image contains data at the specified mount point, that existing data is - copied into the new volume upon volume initialization. + copied into the new volume upon volume initialization. (Note that this does + not apply when [mounting a host directory](#mount-a-host-directory-as-a-data-volume).) - Data volumes can be shared and reused among containers. - Changes to a data volume are made directly. - Changes to a data volume will not be included when you update an image.