From 5b8684373962540d347175a8f500da0d99f9f71c Mon Sep 17 00:00:00 2001 From: Adam Shamblin Date: Sun, 6 Nov 2022 21:51:06 -0700 Subject: [PATCH] connect docker sock, set network mode --- cicd/config/config.toml | 2 -- cicd/config/template.config.toml | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cicd/config/config.toml b/cicd/config/config.toml index 1e2505ef..c093b912 100644 --- a/cicd/config/config.toml +++ b/cicd/config/config.toml @@ -13,10 +13,8 @@ check_interval = 0 [runners.docker] privileged = true tls_verify = false - network_mode = host disable_entrypoint_overwrite = false oom_kill_disable = false disable_cache = false - volumes = ["/cache"] shm_size = 0 diff --git a/cicd/config/template.config.toml b/cicd/config/template.config.toml index f973b917..96e46a8d 100644 --- a/cicd/config/template.config.toml +++ b/cicd/config/template.config.toml @@ -1,3 +1,5 @@ [[runners]] [runners.docker] privileged = true + network_mode = "host" + volumes = ["/cache", "/var/run/docker.sock:/var/run/docker.sock:rw"]