Skip to content

[CI:DOCS] Document rw/src for --mount in buildah-run(1) #6127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/buildah-run.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ Current supported mount TYPES are bind, cache, secret and tmpfs. Writes to `bind

· ro, read-only: (default true for `type=bind`, false for `type=tmpfs`, `type=cache`).

· rw, read-write: (default false for `type=bind`, true for `type=tmpfs`, `type=cache`).

Options specific to bind:

· bind-propagation: shared, slave, private, rshared, rslave, or rprivate(default). See also mount(2). <sup>[[1]](#Footnote1)</sup>
Expand All @@ -144,6 +146,8 @@ Current supported mount TYPES are bind, cache, secret and tmpfs. Writes to `bind

· from: image name for the root of the source. Defaults to **--contextdir**, mandatory if **--contextdir** was not specified.

· src: location in the context directory (or image, if the **from** option is used) to mount instead of its top-level directory.

· z: Set shared SELinux label on mounted destination. Use if SELinux is enabled on host machine.

· Z: Set private SELinux label on mounted destination. Use if SELinux is enabled on host machine.
Expand All @@ -166,7 +170,7 @@ Current supported mount TYPES are bind, cache, secret and tmpfs. Writes to `bind

· mode: File mode for new cache directory in octal. Default 0755.

· ro, readonly: read only cache if set.
· src: location in the cache (or image, if the **from** option is used) to mount instead of its top-level directory.

· uid: uid for cache directory.

Expand Down