Add different types of volumes to the glossary (#2831)

* add different types of volumes to the glossary

* clarify details about different types of volumes
This commit is contained in:
Shubheksha Jalan 2017-04-19 19:29:14 +05:30 committed by Misty Stanley-Jones
parent d1308508e0
commit 70d69b3133
1 changed files with 11 additions and 0 deletions

View File

@ -295,3 +295,14 @@ volume: |
delete volumes when you remove a container, nor will it "garbage collect"
volumes that are no longer referenced by a container.
*Also known as: data volume*
There are three types of volumes: *host, anonymous, and named*:
- A **host volume** lives on the Docker host's filesystem and can be accessed from within the container.
- A **named volume** is a volume which Docker manages where on disk the volume is created,
but it is given a name.
- An **anonymous volume** is similar to a named volume, however, it can be difficult, to refer to
the same volume over time when it is an anonymous volumes. Docker handle where the files are stored.