I am running Docker Desktop (Version 4.48.0 (207573)) for Windows 11 (24H2) and use docker compose for creating/editing my containers. I have 32GB RAM with 16 cores. According to Docker Desktop, my container CPU usage is typically around 2-5%/1600%, with the largest spike I’ve seen to be about 50% and my container memory usage hovers around 2.6GB / 15.14GB. I am fairly new to Docker, so I’m not sure what info is really relevant, but I have been working on this issue for a few days with ChatGPT and I’m summarizing the info I’ve been asked. I have also done google searches and can’t find anything in the documentation or this forum that matches exactly what I am seeing, likely due to me not knowing the correct wording to look for.
Approximately every 15-20 minutes all of my docker services become unreachable in the web browser. If I go to http://localhost:port for any of my docker services, it will not load. If I go to https://service.mydomain (I am running NPM with proxy hosts for each of my services, SSL certs via DuckDNS, and AdGuardHome as a Windows service doing DNS rewrites), it’s the same story. If I run the following command (ChatGPT’s recommendation) while they are unreachable, it appears that the ports are still communicating over TCP:
while ($true) {
$time = Get-Date -Format “HH:mm:ss”
$res = Test-NetConnection localhost -Port 32400 # Example: Plex port
“$time - TCP Test: $($res.TcpTestSucceeded)” | Tee-Object -Append docker_netlog.txt
Start-Sleep -Seconds 5
08:53:40 - TCP Test: True
08:53:52 - TCP Test: True
08:53:59 - TCP Test: True
08:54:06 - TCP Test: True
After 1–2 minutes, everything corrects itself and begins functioning as before. Nothing else appears to be affected as I can still stream Netflix/Youtube and visit other sites and apps without issue. This issue has seemingly become more frequent as I spin up more containers (currently at 19 and I can provide a list if that’s relevant). Also, my AdGuardHome Windows service appears to be functioning perfectly according to the query log and was one of my first services I began using so I don’t think sporadic DNS issues are the culprit.
Any advice or leads on where I can find more info would be greatly appreciated.