mirror of https://github.com/docker/docs.git
Minor `read-only` clarification (#13521)
* Minor `read-only` clarification ## Why It was not obvious to me that `ro` is the shorthand form of `readonly`. ## Description This adds a bit of text to explicitly state that `ro` is the shorthand form of `readonly` when using volumes * Update storage/volumes.md Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com> Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com> Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
This commit is contained in:
parent
220cc2b28a
commit
c1a35e1ba0
|
@ -72,7 +72,7 @@ If you need to specify volume driver options, you must use `--mount`.
|
||||||
is mounted in the container. May be specified as `destination`, `dst`,
|
is mounted in the container. May be specified as `destination`, `dst`,
|
||||||
or `target`.
|
or `target`.
|
||||||
- The `readonly` option, if present, causes the bind mount to be [mounted into
|
- The `readonly` option, if present, causes the bind mount to be [mounted into
|
||||||
the container as read-only](#use-a-read-only-volume).
|
the container as read-only](#use-a-read-only-volume). May be specified as `readonly` or `ro`.
|
||||||
- The `volume-opt` option, which can be specified more than once, takes a
|
- The `volume-opt` option, which can be specified more than once, takes a
|
||||||
key-value pair consisting of the option name and its value.
|
key-value pair consisting of the option name and its value.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue