From a9219d324cacb64e698640ea253272e2c139c606 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Mon, 10 Mar 2025 16:45:45 +0100 Subject: [PATCH] ThinkNix: Update docker ipv6 config --- ThinkNix/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ThinkNix/configuration.nix b/ThinkNix/configuration.nix index 55dd1f8..ce879b0 100644 --- a/ThinkNix/configuration.nix +++ b/ThinkNix/configuration.nix @@ -110,9 +110,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