зеркало из https://github.com/microsoft/docker.git
Merge pull request #17694 from hrldcpr/patch-1
fix documentation inconsistency for volume create
This commit is contained in:
Коммит
1ef3b1f857
|
@ -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.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче