Merge pull request #6127 from nalind/doc-src

[CI:DOCS] Document rw/src for --mount in buildah-run(1)
This commit is contained in:
openshift-merge-bot[bot] 2025-04-17 13:45:52 +00:00 committed by GitHub
commit 01b8522d7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -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`). · 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: Options specific to bind:
· bind-propagation: shared, slave, private, rshared, rslave, or rprivate(default). See also mount(2). <sup>[[1]](#Footnote1)</sup> · bind-propagation: shared, slave, private, rshared, rslave, or rprivate(default). See also mount(2). <sup>[[1]](#Footnote1)</sup>
@ -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. · 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 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. · Z: Set private SELinux label on mounted destination. Use if SELinux is enabled on host machine.
@ -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. · 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. · uid: uid for cache directory.