Skip to content

Commit

Permalink
Merge pull request #1247 from flouthoc/containerfile-docs
Browse files Browse the repository at this point in the history
[CI:DOCS] docs,containerfile: `RUN --mount` mention `rw` option
  • Loading branch information
openshift-merge-robot authored Nov 28, 2022
2 parents 5cbd6c0 + 6893c80 commit db0d935
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 db0d935

Please sign in to comment.