Skip to content

Conversation

@pablospe
Copy link

@pablospe pablospe commented Apr 14, 2025

Added network: host option to build configurations in docker-compose.yaml to allow containers to use the host network during build. This resolves Docker build networking issues, the error was:

npm error code EAI_AGAIN
npm error syscall getaddrinfo
npm error errno EAI_AGAIN
npm error request to https://registry.npmjs.org/pnpm failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org

Resolves Docker build networking issues:
```
Error was:
npm error code EAI_AGAIN
npm error syscall getaddrinfo
npm error errno EAI_AGAIN
npm error request to https://registry.npmjs.org/pnpm failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org

Added network: host option to build configurations in docker-compose.yaml to allow
containers to use the host network during build, improving DNS resolution.
```
@pablospe pablospe requested a review from mogery as a code owner April 14, 2025 09:25
@mogery mogery closed this Jan 13, 2026
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.

2 participants