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:
parent
7e5f904830
commit
f67da614e9
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue