FULL AI ANALYSIS

Docker containers lose DNS after laptop resumes from sleep

Generated Sep 5, 2026, 11:54:26 AM

Analysis summary

The reported behaviour is consistent with docker keeps a stale resolver and bridge state after the host network interface changes. The safest next step is to verify that hypothesis with a reversible test before making permanent configuration changes.

Possible causes

Docker keeps a stale resolver and bridge state after the host network interface changes.

77%

A recent software, firmware or configuration change is exposing an existing compatibility issue.

33%

Suggested fixes

1

Verify the likely cause

Restart Docker after NetworkManager reconnects or add a systemd sleep hook that refreshes Docker networking on resume.

2

Validate and monitor

Reproduce the issue once after the change, review relevant logs or metrics, and keep a rollback path until the system has remained stable.