Skip to content

Commit 0b38a4c

Browse files
Merge pull request #868 from greenhouse-org/windows-readonly-mount
Add readonly option for mount
2 parents fd0b0b6 + 06971c9 commit 0b38a4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ For all platform-specific configuration values, the scope defined below in the [
7777
* Linux: supported options are listed in the [mount(8)][mount.8] man page.
7878
Note both [filesystem-independent][mount.8-filesystem-independent] and [filesystem-specific][mount.8-filesystem-specific] options are listed.
7979
* Solaris: corresponds to "options" of the fs resource in [zonecfg(1M)][zonecfg.1m].
80+
* Windows: runtimes MUST support `ro`, mounting the filesystem read-only when `ro` is given.
8081

8182
### Example (Windows)
8283

@@ -85,7 +86,7 @@ For all platform-specific configuration values, the scope defined below in the [
8586
{
8687
"destination": "C:\\folder-inside-container",
8788
"source": "C:\\folder-on-host",
88-
"options": []
89+
"options": ["ro"]
8990
}
9091
]
9192
```

0 commit comments

Comments
 (0)