Skip to content

Commit 0d8b09e

Browse files
Allow confined users to run "podman build"
Signed-off-by: Max Chernoff <[email protected]>
1 parent 7bf4b24 commit 0d8b09e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

container.te

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,3 +1657,7 @@ allow userdomain container_runtime_t:udp_socket { bind create getopt listen seto
16571657
# times out)
16581658
allow userdomain container_runtime_t:process { sigkill signal signull };
16591659
allow userdomain container_t:process { sigkill signal signull };
1660+
1661+
# Needed for "podman build" to work as a confined user
1662+
allow userdomain container_ro_file_t:dir mounton;
1663+
allow userdomain self:capability setuid;

0 commit comments

Comments
 (0)