mirror of https://github.com/docker/cli.git
Fixing wrong volume doc format
Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
This commit is contained in:
parent
661cab4af3
commit
161b465e47
|
@ -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
|
$ docker volume create --name hello
|
||||||
hello
|
hello
|
||||||
|
|
||||||
$ docker run -d -v hello:/world busybox ls /world
|
$ 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.
|
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
|
$ docker volume inspect --format '{{ .Mountpoint }}' 85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d
|
||||||
"/var/lib/docker/volumes/85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d/_data"
|
/var/lib/docker/volumes/85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d/_data
|
||||||
|
|
Loading…
Reference in New Issue