fix the docker run --readonly example. rename '/icanwrite here' to '/icanwrite/here'
Signed-off-by: Mei ChunTao <mei.chuntao@zte.com.cn>
(cherry picked from commit acbe38a3cc
)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
926d66b50f
commit
b2334cc79d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue