You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[REQUEST] Add pre-flight DNS connectivity check to startup scripts #395
Is your feature request related to a problem? Please describe.
On certain Linux distributions (such as Arch), the initial build process can fail during the apk add phase due to DNS bridging conflicts. The resulting "temporary error (try again later)" or EAI_AGAIN error occurs because the build container is unable to resolve external Alpine mirrors, creating an onboarding hurdle for contributors.
Describe the solution you'd like
Implement a connectivity check within the project's startup scripts. Before initiating the main build process, the script should execute a lightweight test in a temporary container (e.g., docker run --rm alpine nslookup dl-cdn.alpinelinux.org). If resolution fails, the script should provide a descriptive warning regarding the DNS conflict and suggest potential fixes, such as Docker daemon configuration.
Describe alternatives you've considered
Modifying the docker-compose.yml to use network: host for the build block was considered. However, this modifies core infrastructure for environment-specific issues and is less portable than an automated check combined with documentation.
Additional context
This enhancement aims to improve the overall Developer Experience (DX) and streamline the environment setup for contributors using Linux-based development environments.
Thanks @YashIIT0909 for the implementation! The DNS pre-flight check PR (#398) has been merged. This will help users diagnose Docker connectivity issues much faster on systems with systemd-resolved conflicts.
Activity
kushagra0902 commentedon Apr 8, 2026
Hi @cameri. Can I please work on this issue
cameri commentedon Apr 8, 2026
@kushagra0902 YashIIT0909 was already on it.
chappie-daemon commentedon Apr 9, 2026
Thanks @YashIIT0909 for the implementation! The DNS pre-flight check PR (#398) has been merged. This will help users diagnose Docker connectivity issues much faster on systems with systemd-resolved conflicts.