From 7f41c82d5f09d32335d32374e43fbcb66dddc3be Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Wed, 26 Mar 2025 14:33:58 +0100 Subject: [PATCH] ServeNix: Disable docker ipv6 --- ServeNix/configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ServeNix/configuration.nix b/ServeNix/configuration.nix index 9fe79b5..e40be5a 100644 --- a/ServeNix/configuration.nix +++ b/ServeNix/configuration.nix @@ -145,7 +145,8 @@ # - Disabling this prevents containers from having internet connection. DNS issue? # ${dockercli} network create -o "com.docker.network.bridge.enable_ip_masquerade"="false" ${network} - ${dockercli} network create --ipv6 --gateway="2000::1" --subnet="2000::/80" ${network} + # ${dockercli} network create --ipv6 --gateway="2000::1" --subnet="2000::/80" ${network} + ${dockercli} network create ${network} else echo "${network} already exists in docker" fi @@ -247,14 +248,14 @@ # setSocketVariable = true; # }; daemon.settings = { - ipv6 = true; - fixed-cidr-v6 = "2001::/80"; + # ipv6 = true; # TODO: Resulted in slowdowns for some services? + # fixed-cidr-v6 = "2001::/80"; dns = [ # TODO: Does this circumvent my DNS for each container? # It might improve gitea actions though... "8.8.8.8" - "2001:4860:4860::8888" + # "2001:4860:4860::8888" # TODO: Might prevent containers from having DNS? # "127.0.0.1"