Bläddra i källkod

Merge pull request #17051 from thaJeztah/fix-volume-readonly-doc

remove incorrect "readonly" example
David Calavera 9 år sedan
förälder
incheckning
475be776b8
1 ändrade filer med 0 tillägg och 5 borttagningar
  1. 0 5
      docs/userguide/dockervolumes.md

+ 0 - 5
docs/userguide/dockervolumes.md

@@ -59,11 +59,6 @@ This will create a new volume inside a container at `/webapp`.
 > You can also use the `VOLUME` instruction in a `Dockerfile` to add one or
 > more new volumes to any container created from that image.
 
-Docker volumes default to mount in read-write mode, but you can also set it to be mounted read-only.
-
-    $ docker run -d -P --name web -v /opt/webapp:ro training/webapp python app.py
-
-
 ### Locating a volume
 
 You can locate the volume on the host by utilizing the 'docker inspect' command.