1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05: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>
This commit is contained in:
harold cooper 2015-11-04 13:18:42 -05:00 committed by Harold Cooper
parent 7e5f904830
commit f67da614e9

View file

@ -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.