-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
ubuntu-22.04 / 20240609.1.0 issues with IPv6 DNS resolution inside container #10088
Comments
@samjarrett - Thank you for bringing this issue to us. We are looking into this issue, we will update you on this issue after investigating the error you have faced. |
As an update, we tried the following to 100% disable ipv6 in the kernel: echo 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1"' > /etc/default/grub.d/10-disable-ipv6.cfg
update-grub And still get the same issue. |
@samjarrett - You can try with the below approach - Please let us know once you try it. |
@ijunaidm in the container? Or on the host? The host has ipv6 disabled at a kernel level - I don't see what this would achieve? |
@samjarrett - yes, in the docker container. Try this workaround it may work for you. |
I don't think reconfiguring networking inside a container is a viable solution to ask of people? |
@ijunaidm hello - as an update, we added the change to I've realised that this only seems to be alpine-based container images that have this issue. Alpine does not have a As added info while we're also working to better understand it, specifically, we're seeing it most commonly on |
@samjarrett - Okay. Its basically from the Docker update (with docker 26 ) and probably Docker will not roll back to the previous version. We cannot do much on this as this is from the Docker . I am Closing this issue. Thank you. |
Description
Somewhat related to #10061, we're seeing occasional DNS resolution issues of some of our internal domains when trying to resolve inside a container that do not occur on the runner itself since upgrading - tcpdump of the runner shows only
AAAA
lookups being performed. We use a This seems to be related to the docker version upgrade as well, and when forcfully downgrading docker <26 this is resolved.This is with IPv6 forcefully disabled on the host prior to the runner agent starting, eg.:
tcpdump of the AAAA requests being made:
Platforms affected
Runner images affected
Image version and build link
20240609.1.0
Is it regression?
yes - did not exist in 20240603.1
Expected behavior
As the host does not have an ipv6 interface and the sysctl's explicitly have ipv6 disabled, prior to docker starting, we would've expected this not to happen
Actual behavior
AAAA DNS calls are being made, resulting in DNS resolution failures
Repro steps
inside a container on a host with runner image 20240609.1.0,
curl http://some-domain-without-ipv6-results
.The text was updated successfully, but these errors were encountered: