From e82f958961ad4c81f87160a336872ae8d17ca77d Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Wed, 26 Mar 2025 14:34:03 +0100 Subject: [PATCH] ThinkNix: Disable docker ipv6 --- ThinkNix/configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ThinkNix/configuration.nix b/ThinkNix/configuration.nix index ec1dc72..fa3f8d4 100644 --- a/ThinkNix/configuration.nix +++ b/ThinkNix/configuration.nix @@ -112,7 +112,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 @@ -213,14 +214,14 @@ # setSocketVariable = true; # }; daemon.settings = { - ipv6 = true; - fixed-cidr-v6 = "2001::/80"; + # ipv6 = true; + # 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"