Skip to content

Conversation

@taha-au
Copy link
Contributor

@taha-au taha-au commented Dec 18, 2025

Summary

  • Configure explicit DNS nameservers in buildkitd.toml to avoid issues with systemd-resolved stub resolver

Customers reported intermittent DNS failures during Docker builds with errors like:

  • WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.23/community/x86_64/APKINDEX.tar.gz: DNS: transient error (try again later)
  • WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.22/main: temporary error (try again later)

This is a known buildkit issue when running with systemd-resolved: moby/buildkit#5009

🤖 Generated with Claude Code


Note

Adds dist/index.js.map to the distribution; no source changes.

Written by Cursor Bugbot for commit c76e9b7. This will update automatically on new commits. Configure here.

@taha-au taha-au force-pushed the taha-au/add-dns-nameservers branch from cce470f to d0de653 Compare December 18, 2025 19:04
Configure explicit DNS nameservers in buildkitd.toml to avoid issues
with systemd-resolved stub resolver.

Customers reported intermittent DNS failures during Docker builds with
errors like:
- "DNS: transient error (try again later)"
- "temporary error (try again later)"

This is a known buildkit issue when running with systemd-resolved.
See: moby/buildkit#5009

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@taha-au taha-au force-pushed the taha-au/add-dns-nameservers branch from d0de653 to c76e9b7 Compare December 18, 2025 19:23
@taha-au taha-au merged commit 33fed32 into main Dec 18, 2025
10 checks passed
@taha-au taha-au deleted the taha-au/add-dns-nameservers branch December 18, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect DNS options with host networking when buildkit is run as docker-container on a host with systemd-resolved

2 participants