Selaa lähdekoodia

Merge pull request #24566 from meichuntao/master

fix the docker run --readonly example. rename '/icanwrite here' to '/…
Sebastiaan van Stijn 9 vuotta sitten
vanhempi
commit
489adc96b8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      docs/reference/commandline/run.md

+ 1 - 1
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`
 example above, Docker will create the `/doesnt/exist`
 folder before starting your container.
 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
 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
 a container writes files. The `--read-only` flag mounts the container's root