Skip to content

Commit 51d2877

Browse files
Fix a wrong statement about named volume
Neither named nor anonymous volumes use outside sources, those are for bind mounts. Additionally, referring to a volume's name as a "source" here can be confusing (even though correct), as the term has a different definition for bind mounts.
1 parent cb7a298 commit 51d2877

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/manuals/engine/storage/volumes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,8 @@ testing using your preferred tools.
775775
A Docker data volume persists after you delete a container. There are two types
776776
of volumes to consider:
777777

778-
- Named volumes have a specific source from outside the container, for example, `awesome:/bar`.
779-
- Anonymous volumes have no specific source. Therefore, when the container is deleted, you can instruct the Docker Engine daemon to remove them.
778+
- Named volumes have a specific name, for example, `awesome:/bar`, where `awesome` is the name.
779+
- Anonymous volumes have no specific name. Therefore, when the container is deleted, you can instruct the Docker Engine daemon to remove them.
780780

781781
### Remove anonymous volumes
782782

0 commit comments

Comments
 (0)