From efcf7ed4a7ae35bc534552daacd98b12c750638c Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Mon, 10 Mar 2025 16:46:03 +0100 Subject: [PATCH] ServeNix: Update docker ipv6 config --- ServeNix/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ServeNix/configuration.nix b/ServeNix/configuration.nix index 872a609..8c663f8 100644 --- a/ServeNix/configuration.nix +++ b/ServeNix/configuration.nix @@ -143,9 +143,9 @@ if [ -z "$check" ]; then # TODO: Disable IP masquerading to show individual containers in AdGuard/Pi-Hole # - Disabling this prevents containers from having internet connection. DNS issue? - # ${dockercli} network create -o "com.docker.network.bridge.enable_ip_masquerade"="false" -o "enable_ipv6"="true" ${network} + # ${dockercli} network create -o "com.docker.network.bridge.enable_ip_masquerade"="false" ${network} - ${dockercli} network create -o "enable_ipv6"="true" ${network} + ${dockercli} network create --ipv6 --gateway="fd00::5" --subnet="2000::/80" ${network} else echo "${network} already exists in docker" fi