Skip to content

Add '--network=host' to docker build options to work around issues with - #56

Open
oddhack wants to merge 1 commit into
mainfrom
improve-build
Open

oddhack wants to merge 1 commit into
mainfrom
improve-build

Conversation

@oddhack

@oddhack oddhack commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

DNS resolution in some contexts (I was having to run a VPN to succeed in building from Portugal).

Another option would be systemwide Docker configuration to add public DNS servers like Google's, or add them in the Dockerfile prior to running apt-get, but this seems more general if it does not affect anyone else's builds.

@oddhack
oddhack requested a review from rpavlik October 7, 2026 03:45
@oddhack

oddhack commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator Author

DNS resolution in some contexts (I was having to run a VPN to succeed in
building from Portugal).

Another option would be systemwide Docker configuration to add public
DNS servers like Google's, or add them in the Dockerfile prior to
running apt-get, but this seems more general if it does not affect
anyone else's builds.
@rpavlik

rpavlik commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Pretty strange, I don't remember seeing this myself recently. It feels like a local system misconfig, no reason why NAT should fail to resolve DNS, but as long as it doesn't freeze network=host into the container image itself, that seems relatively harmless.

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