Signed-off-by: Mei ChunTao <mei.chuntao@zte.com.cn>
(cherry picked from commit acbe38a3ccb85be012d88f3109b688f8b815daaf)
Signed-off-by: Tibor Vass <tibor@docker.com>
| ... | ... |
@@ -224,7 +224,7 @@ will automatically create this directory on the host for you. In the |
| 224 | 224 |
example above, Docker will create the `/doesnt/exist` |
| 225 | 225 |
folder before starting your container. |
| 226 | 226 |
|
| 227 |
- $ docker run --read-only -v /icanwrite busybox touch /icanwrite here |
|
| 227 |
+ $ docker run --read-only -v /icanwrite busybox touch /icanwrite/here |
|
| 228 | 228 |
|
| 229 | 229 |
Volumes can be used in combination with `--read-only` to control where |
| 230 | 230 |
a container writes files. The `--read-only` flag mounts the container's root |