Merge pull request #17051 from thaJeztah/fix-volume-readonly-doc
remove incorrect "readonly" example
This commit is contained in:
commit
475be776b8
1 changed files with 0 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue