From 84a5cb09eebf0daf97dbac9ee4e3ed1dfbabb567 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 24 Feb 2026 14:34:34 +0100 Subject: [PATCH] Use host mode for docker network MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to reduce the traffic of the secondary Ethernet device we need to be able to directly use the physical device instead of the virtual one. For now use the host mode and see later if we can revert it. Reviewed-by: Aleix Boné --- m/tent/gitlab-runner.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/m/tent/gitlab-runner.nix b/m/tent/gitlab-runner.nix index 166b8ca5..6bd12e11 100644 --- a/m/tent/gitlab-runner.nix +++ b/m/tent/gitlab-runner.nix @@ -43,6 +43,7 @@ registrationFlags = [ # Increase build log length to 64 MiB "--output-limit 65536" + "--docker-network-mode host" ]; preBuildScript = pkgs.writeScript "setup-container" '' mkdir -p -m 0755 /nix/var/log/nix/drvs