Merge pull request #24441 from docker/fix/issue-24435-clarify-volume-desc

Fix issue #24435: clarify volume description in bind mounts
This commit is contained in:
David Karlsson
2026-03-23 17:24:33 +01:00
committed by GitHub
parent 95fdf11cec
commit 2e28597412

View File

@@ -10,8 +10,9 @@ aliases:
When you use a bind mount, a file or directory on the host machine is mounted
from the host into a container. By contrast, when you use a volume, a new
directory is created within Docker's storage directory on the host machine, and
Docker manages that directory's contents.
directory is created within Docker's storage directory on the host machine.
Docker creates and maintains this storage location, but containers access it
directly using standard filesystem operations.
## When to use bind mounts