mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 21:21:42 +00:00
fix documentation inconsistency for volume create
the example command uses `/world` but the description refers to `/src` Signed-off-by: Harold Cooper <hrldcpr@gmail.com> (cherry picked from commit f67da614e9963e626d4ec12fd624249947b97d6a)
This commit is contained in:
committed by
Tibor Vass
parent
e1f59b5987
commit
7e485e614c
@@ -25,7 +25,7 @@ Creates a new volume that containers can consume and store data in. If a name is
|
||||
hello
|
||||
$ docker run -d -v hello:/world busybox ls /world
|
||||
|
||||
The mount is created inside the container's `/src` directory. Docker does not support relative paths for mount points inside the container.
|
||||
The mount is created inside the container's `/world` directory. Docker does not support relative paths for mount points inside the container.
|
||||
|
||||
Multiple containers can use the same volume in the same time period. This is useful if two containers need access to shared data. For example, if one container writes and the other reads the data.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user