Skip to content

Commit db0d935

Browse files
Merge pull request containers#1247 from flouthoc/containerfile-docs
[CI:DOCS] docs,containerfile: `RUN --mount` mention `rw` option
2 parents 5cbd6c0 + 6893c80 commit db0d935

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/Containerfile.5.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Current supported mount TYPES are bind, cache, secret and tmpfs.
118118

119119
· dst, destination, target: mount destination spec.
120120

121-
· ro, read-only: true or false (default).
121+
· ro, read-only: true (default) or false.
122122

123123
Options specific to bind:
124124

@@ -128,6 +128,8 @@ Current supported mount TYPES are bind, cache, secret and tmpfs.
128128

129129
· from: stage or image name for the root of the source. Defaults to the build context.
130130

131+
· rw, read-write: allows writes on the mount.
132+
131133
Options specific to tmpfs:
132134

133135
· tmpfs-size: Size of the tmpfs mount in bytes. Unlimited by default in Linux.
@@ -150,6 +152,8 @@ Current supported mount TYPES are bind, cache, secret and tmpfs.
150152

151153
· from: stage name for the root of the source. Defaults to host cache directory.
152154

155+
· rw, read-write: allows writes on the mount.
156+
153157

154158
**RUN Secrets**
155159

0 commit comments

Comments
 (0)