Skip to content

Commit

Permalink
Add different types of volumes to the glossary (docker#2831)
Browse files Browse the repository at this point in the history
* add different types of volumes to the glossary

* clarify details about different types of volumes
  • Loading branch information
shubheksha authored and Misty Stanley-Jones committed Apr 19, 2017
1 parent d130850 commit 70d69b3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _data/glossary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 70d69b3

Please sign in to comment.