Skip to content

Commit 2fd6336

Browse files
glehmanngduperreytescande
committed
pass flag required with podman and selinux
--security-opt label=disable is more performant that using :Z at the end of the mount option. Signed-off-by: Gaëtan Lehmann <[email protected]> Co-authored-by: Gael Duperrey <[email protected]> Co-authored-by: Thierry Escande <[email protected]>
1 parent e9cf0bd commit 2fd6336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def main():
106106
"--platform", docker_arch,
107107
]
108108
if is_podman(RUNNER):
109-
docker_args += ["--userns=keep-id"]
109+
docker_args += ["--userns=keep-id", "--security-opt", "label=disable"]
110110
if args.rm:
111111
docker_args += ["--rm=true"]
112112

0 commit comments

Comments
 (0)