Earthly doesn't respect a host defined in a local /etc/hosts
file when doing SAVE IMAGE
#4174
Labels
type:bug
Something isn't working
What went wrong?
I have this line in my earthfile:
And in my
/etc/hosts
file i have defined:If i run the target with
--push
it fails with:So, it's not using the machines local
/etc/hosts
file at all, and resorting to upstream DNS query.What should have happened?
A hostname lookup from earthly for
SAVE IMAGE
should resolve from/etc/hosts
before resorting to an upstream DNS query.Ideally this would apply to all hostname resolution, not just
SAVE IMAGE
.What earthly version?
earthly version v0.8.12 7dbb0ea linux/amd64; Manjaro Linux
Buildkit Logs
Latest relevant log messages:
Other Helpful Information
Curl can resolve the address as expected:
As can
docker push
The text was updated successfully, but these errors were encountered: