DNS unmarshal error when pulling from private repo with long url
See original GitHub issueActual Behavior
Recently updated to 1.1.1 hoping it’d resolve, but still having this same issue which I was also having with 1.1.0 and commented on thru issue 893
Pulling from public repos works fine, but when I try to pull from my team’s private repos over our company VPN and containing long urls, I get back cannot unmarshal DNS message
below. This does not happen with Docker Desktop which uses kubernetes.docker.internal
that’s mapped to my local (Windows) host in c/Windows/System32/drivers/etc/hosts
.
docker pull teams-docker-dev-repo.docker.artifactory.my-company.com/base/service-img:10b2d1bb
Error response from daemon: Get "teams-docker-dev-repo.docker.artifactory.my-company.com/v2/": dial tcp: lookup teams-docker-dev-repo.docker.artifactory.my-company.com on 172.18.71.212:53: cannot unmarshal DNS message
Since my local Docker Desktop instance can pull the same private repo image down w/o issue while connected to the same VPN, I don’t think it has anything to do with the DNS issue in the Rancher Desktop context, but added that detail in case it does for any reason(s).
Steps to Reproduce
Try to pull an image from a long repo url, e.g. docker pull teams-docker-dev-repo.docker.artifactory.my-company.com/base/service-img:10b2d1bb
. This same url works w/o issue on Docker Desktop, not sure what the deltas are and why it would be able to handle the same url w/o issue
Result
Error response from daemon: Get "teams-docker-dev-repo.docker.artifactory.my-company.com/v2/": dial tcp: lookup teams-docker-dev-repo.docker.artifactory.my-company.com on 172.18.71.212:53: cannot unmarshal DNS message
Expected Behavior
I should be able to pull from both public and private docker image repos with longer urls the same way I can in my Docker Desktop context
Additional Information
No response
Rancher Desktop Version
1.1.1
Rancher Desktop K8s Version
1.21.9
Which container runtime are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
10.0.18363 Build 18363
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
Using Cisco AnyConnect VPN
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
@Nino-K I have good news, I’d root caused this and worked with the Go team to ensure this was released & backported: https://github.com/golang/go/issues/51127
@kingrichard2005 I’m going to close this issue, however, feel to reopen at any time if this is not resolved by our next release. Thanks again for your contribution.