mirror of https://github.com/docker/docs.git
Clarify data volume init with existing data
Though I am not clear on the intent of the sentence if it means that existing data in the base image is copied into the new volume then the additions I propose make that more clear than the present language. Signed-off-by: Kent Johnson <kentoj@gmail.com>
This commit is contained in:
parent
a7690076c9
commit
ff9f0134ae
|
@ -25,8 +25,8 @@ System*](/terms/layer/#union-file-system). Data volumes provide several
|
||||||
useful features for persistent or shared data:
|
useful features for persistent or shared data:
|
||||||
|
|
||||||
- Volumes are initialized when a container is created. If the container's
|
- Volumes are initialized when a container is created. If the container's
|
||||||
base image contains data at the specified mount point, that data is
|
base image contains data at the specified mount point, that existing data is
|
||||||
copied into the new volume.
|
copied into the new volume upon volume initialization.
|
||||||
- Data volumes can be shared and reused among containers.
|
- Data volumes can be shared and reused among containers.
|
||||||
- Changes to a data volume are made directly.
|
- Changes to a data volume are made directly.
|
||||||
- Changes to a data volume will not be included when you update an image.
|
- Changes to a data volume will not be included when you update an image.
|
||||||
|
|
Loading…
Reference in New Issue