Skip to content

Commit

Permalink
Merge pull request #4123 from flouthoc/document-mount-selinux
Browse files Browse the repository at this point in the history
[CI:DOCS] docs, run: document `SELinux` label flag for `cache` and `bind` mounts
  • Loading branch information
openshift-ci[bot] authored Jul 19, 2022
2 parents 012c35b + eb4ec4a commit 1191961
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/buildah-run.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ Current supported mount TYPES are bind, cache, secret and tmpfs. <sup>[[1]](#Foo

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

· 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.

Options specific to tmpfs:

· tmpfs-size: Size of the tmpfs mount in bytes. Unlimited by default in Linux.
Expand All @@ -151,6 +155,10 @@ Current supported mount TYPES are bind, cache, secret and tmpfs. <sup>[[1]](#Foo

· from: stage name for the root of the source. Defaults to host cache 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.

**--network**, **--net**=*mode*

Sets the configuration for the network namespace for the container.
Expand Down

0 comments on commit 1191961

Please sign in to comment.