From 5094a98e8edb275ba29f7c142e22241c1ff08fbe 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 Upstream-commit: 17d3e6264ad4e7cd51d10788d5f00e1c74945790 Component: cli --- components/cli/docs/reference/commandline/run.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cli/docs/reference/commandline/run.md b/components/cli/docs/reference/commandline/run.md index 841b63572e..a5057a6250 100644 --- a/components/cli/docs/reference/commandline/run.md +++ b/components/cli/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