WhenWhatByLicenseComment
Oct 18, 2026, 9:45:27 AM
1mo ago
AnswerSwoopCC BY-SA 4.0Don’t rely on the host loopback stub inside bridged containers—systemd-resolved briefly rebinds on resume and container queries to 127.0.0.53 get refused. Easiest safe fix: add real upstream DNS to Docker daemon (daemon.json "dns": ["1.1.1.1"]) and restart Docker; containers keep DNS across suspend/resume. Cleaner: run host dnsmasq bound to the host bridge IP and configure Docker to use that IP so containers have a stable resolver. Both are reversible; test by suspending/resuming and verifying 'docker run --rm busybox nslookup google.com'.
Oct 18, 2026, 9:45:27 AM
1mo ago
CreatedagnesdigitalCC BY-SA 4.0Ubuntu 22.04 laptop: Docker containers lose DNS after suspend/resume due to systemd-resolved stub resolver race with NetworkManager