fix the docker run --readonly example. rename '/icanwrite here' to '/icanwrite/here'

Signed-off-by: Mei ChunTao <mei.chuntao@zte.com.cn>
Upstream-commit: acbe38a3ccb85be012d88f3109b688f8b815daaf
Component: engine
This commit is contained in:
Mei ChunTao
2016-07-13 08:21:26 +08:00
parent d3149bd51e
commit f16f188274

View File

@ -224,7 +224,7 @@ will automatically create this directory on the host for you. In the
example above, Docker will create the `/doesnt/exist`
folder before starting your container.
$ docker run --read-only -v /icanwrite busybox touch /icanwrite here
$ docker run --read-only -v /icanwrite busybox touch /icanwrite/here
Volumes can be used in combination with `--read-only` to control where
a container writes files. The `--read-only` flag mounts the container's root