mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fixing wrong volume doc format
Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
This commit is contained in:
parent
944dc7fa8f
commit
a874ce08f3
3 changed files with 8 additions and 7 deletions
|
@ -23,6 +23,7 @@ Creates a new volume that containers can consume and store data in. If a name is
|
|||
|
||||
$ docker volume create --name hello
|
||||
hello
|
||||
|
||||
$ docker run -d -v hello:/world busybox ls /world
|
||||
|
||||
The mount is created inside the container's `/world` directory. Docker does not support relative paths for mount points inside the container.
|
||||
|
|
|
@ -37,4 +37,4 @@ Example output:
|
|||
]
|
||||
|
||||
$ docker volume inspect --format '{{ .Mountpoint }}' 85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d
|
||||
"/var/lib/docker/volumes/85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d/_data"
|
||||
/var/lib/docker/volumes/85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d/_data
|
||||
|
|
Loading…
Add table
Reference in a new issue