Skip to content

Commit

Permalink
Merge pull request opencontainers#868 from greenhouse-org/windows-rea…
Browse files Browse the repository at this point in the history
…donly-mount

Add readonly option for mount
  • Loading branch information
Michael Crosby authored Jun 23, 2017
2 parents fd0b0b6 + 06971c9 commit 0b38a4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ For all platform-specific configuration values, the scope defined below in the [
* Linux: supported options are listed in the [mount(8)][mount.8] man page.
Note both [filesystem-independent][mount.8-filesystem-independent] and [filesystem-specific][mount.8-filesystem-specific] options are listed.
* Solaris: corresponds to "options" of the fs resource in [zonecfg(1M)][zonecfg.1m].
* Windows: runtimes MUST support `ro`, mounting the filesystem read-only when `ro` is given.

### Example (Windows)

Expand All @@ -85,7 +86,7 @@ For all platform-specific configuration values, the scope defined below in the [
{
"destination": "C:\\folder-inside-container",
"source": "C:\\folder-on-host",
"options": []
"options": ["ro"]
}
]
```
Expand Down

0 comments on commit 0b38a4c

Please sign in to comment.