Open fireman777 opened 4 months ago
Hi @fireman777, thanks for reporting. Can you try turning on the daemon debug logs (see https://docs.docker.com/config/daemon/logs/#enable-debugging) and paste the log lines about DNS stuff written around the time resolution starts failing please?
Hi @fireman777, thanks for reporting. Can you try turning on the daemon debug logs (see https://docs.docker.com/config/daemon/logs/#enable-debugging) and paste the log lines about DNS stuff written around the time resolution starts failing please?
Hi @akerouanton, thanks for the response. Here is an attached file with docker logs. It's not in debug mode, because if I enable this mode, I should restart Docker container and after this the issue dissappers. docker_logs.txt
Logs seem to indicate that the docker internal DNS is unable to connect to the DNS server(s) configured on the host;
[resolver] failed to query DNS server: 10.115.11.146:53, query: ;webproxy.hzl.mgmt.services.\tIN\t A" error="read udp 172.19.0.2:46361->10.115.11.146:53: i/o timeout
[resolver] failed to query DNS server: 10.44.139.225:53, query: ;webproxy.hzl.mgmt.services.\tIN\t A" error="read udp 172.19.0.2:53991->10.44.139.225:53: i/o timeout
Yes, @thaJeztah, the problem with the network doesn't allow us to resolve names. I can't ping any host from the container (previously I could do it). After the docker service restarts it disappears for some time.
@fireman777 Can you paste the output of docker network inspect
for your network please?
Yes, sure (file is attached). network_inspect.txt Label "com.docker.compose.version": "1.29.2" still has a version of a previous version, but I don't think it's critical, since previously (before docker update) the problem was the same. We updated docker/docker compose to fix this problem, but it didn't help.
I've started docker in debug logging mode and restarted it. As soon as docker will face network connectivity issue, I'll add debug logs.
Description
In RHEL 8.9 (Docker (
v25.0.1
), docker compose (v2.24.2
) creates a container by docker-compose.yml:After some time container stops resolving names:
Reproduce
Expected behavior
Docker container doesn't stop resolving names.
docker version
docker info
Additional Info
Docker logs from container: