From d7683b836a555d752af760ad3d91b853cd94a197 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 13 Jun 2026 23:35:12 +0000 Subject: [PATCH] Try Cloudflare DNS first in GPU container; add troubleshooting note MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.1.1.1 uses a different anycast route than 8.8.8.8 so may reach the container even when Google's servers don't. Falls back to Google if Cloudflare is also unreachable. If all fail (Errno -3), port 53 UDP is blocked at the Docker bridge level — comment has the iptables fix. https://claude.ai/code/session_01WVDg7amsy1TTtxvpku7bcM --- docker-compose.gpu.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.gpu.yml b/docker-compose.gpu.yml index b44072e..ad583e9 100644 --- a/docker-compose.gpu.yml +++ b/docker-compose.gpu.yml @@ -126,8 +126,12 @@ services: count: 1 capabilities: [gpu] - # Reliable DNS for HuggingFace Hub downloads and external API calls + # DNS: try host resolver first (works on most networks including corporate/VPN), + # fall back to Cloudflare then Google public resolvers. + # If all three fail (Errno -3), your firewall is blocking port 53 UDP from Docker. + # Fix on the host: sudo iptables -I DOCKER-USER -p udp --dport 53 -j ACCEPT dns: + - 1.1.1.1 - 8.8.8.8 - 8.8.4.4