From ac43de9a5f42cfc1a10446fa3198310b5b45abf5 Mon Sep 17 00:00:00 2001 From: Marko Kosmerl Date: Fri, 21 Jun 2024 15:30:23 +0000 Subject: [PATCH] no userns option --- releaseVersion | 2 +- src/Runner.Worker/Container/DockerCommandManager.cs | 2 +- src/runnerversion | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/releaseVersion b/releaseVersion index 343a7e1bfc5..0e73971b094 100644 --- a/releaseVersion +++ b/releaseVersion @@ -1 +1 @@ -2.317.0-podman4 +2.317.0-podman5 diff --git a/src/Runner.Worker/Container/DockerCommandManager.cs b/src/Runner.Worker/Container/DockerCommandManager.cs index 2e21f4bfe8e..0c3e6bba2f9 100644 --- a/src/Runner.Worker/Container/DockerCommandManager.cs +++ b/src/Runner.Worker/Container/DockerCommandManager.cs @@ -116,7 +116,7 @@ public async Task DockerCreate(IExecutionContext context, ContainerInfo // TODO: pull opts from env dockerOptions.Add("--privileged"); dockerOptions.Add("--cgroupns host"); - dockerOptions.Add("--userns keep-id"); + //dockerOptions.Add("--userns keep-id"); if (!string.IsNullOrEmpty(container.ContainerWorkDirectory)) { dockerOptions.Add($"--workdir {container.ContainerWorkDirectory}"); diff --git a/src/runnerversion b/src/runnerversion index 343a7e1bfc5..0e73971b094 100644 --- a/src/runnerversion +++ b/src/runnerversion @@ -1 +1 @@ -2.317.0-podman4 +2.317.0-podman5