Skip to content

Commit

Permalink
docs,containerfile: RUN --mount mention rw option
Browse files Browse the repository at this point in the history
Mention `readwrite, rw` option for `RUN --mount` instruction and mention
correct default for `ro, readonly`.

[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]

Closes: #1246

Signed-off-by: Aditya R <[email protected]>
  • Loading branch information
flouthoc committed Nov 28, 2022
1 parent 5cbd6c0 commit 6893c80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/Containerfile.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Current supported mount TYPES are bind, cache, secret and tmpfs.

· dst, destination, target: mount destination spec.

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

Options specific to bind:

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

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

· rw, read-write: allows writes on the mount.

Options specific to tmpfs:

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

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

· rw, read-write: allows writes on the mount.


**RUN Secrets**

Expand Down

0 comments on commit 6893c80

Please sign in to comment.