bazelbuild / bazelbuild/rules_docker

On VPN, puller fails to resolve dns name on MacOS

Open
#1,354 17 comments 3 reactions 0 assignees View on GitHub
Can Close?
Dominant language
Starlark
Stars
1.1k
Forks
689
PR merge metrics
No merged PRs in 30d

Description

When puller is used to pull a docker image over VPN on MacOS. The root cause seem to be [this issue](https://github.com/golang/go/issues/12524). Apparently the go_library definition need to have `cgo=True` for this to work on Mac.

So, to summarize the issue, the host name resolution is not honoring Mac's DNS configuration, instead it is always reading `/etc/resolv.conf` to get the name servers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.