-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker container stops resolve names #47414
Comments
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. |
Logs seem to indicate that the docker internal DNS is unable to connect to the DNS server(s) configured on the host;
|
Yes, @thaJeztah, the problem with the network doesn't allow us to resolve names. |
@fireman777 Can you paste the output of |
Yes, sure (file is attached). |
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
Client: Docker Engine - Community Version: 25.0.1 API version: 1.44 Go version: go1.21.6 Git commit: 29cf629 Built: Tue Jan 23 23:10:32 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 25.0.1 API version: 1.44 (minimum version 1.24) Go version: go1.21.6 Git commit: 71fa3ab Built: Tue Jan 23 23:09:31 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.27 GitCommit: a1496014c916f9e62104b33d1bb5bd03b0858e59 runc: Version: 1.1.11 GitCommit: v1.1.11-0-g4bccb38 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
Docker logs from container:
The text was updated successfully, but these errors were encountered: