From 17d3e6264ad4e7cd51d10788d5f00e1c74945790 Mon Sep 17 00:00:00 2001 From: Mei ChunTao Date: Wed, 13 Jul 2016 08:21:26 +0800 Subject: [PATCH] fix the docker run --readonly example. rename '/icanwrite here' to '/icanwrite/here' Signed-off-by: Mei ChunTao --- docs/reference/commandline/run.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md index 841b63572e..a5057a6250 100644 --- a/docs/reference/commandline/run.md +++ b/docs/reference/commandline/run.md @@ -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