Skip to content

Commit

Permalink
Merge pull request moby#18684 from cdauth/volume-docs
Browse files Browse the repository at this point in the history
Add note to volume docs that data is not copied to mounted volumes
  • Loading branch information
thaJeztah committed Dec 19, 2015
2 parents eaf7932 + efb763a commit 69fbdf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/userguide/dockervolumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 69fbdf4

Please sign in to comment.