1
0
mirror of https://github.com/containers/buildah.git synced 2026-02-05 09:45:38 +01:00

Document rw and src options for --mount flag in buildah-run(1)

Per discussion item 6084.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
Nalin Dahyabhai
2025-03-26 10:03:43 -04:00
parent dca9197ba1
commit 26ad103469

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.