You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RD is failing to retrieve docker images from an internal repository (in our case Artifactory). The repository domain is something like artifactory.{{company}}.com.
Images from other public repositories are pulled with no issues, so only the internal repository is failing.
However we found a workaround, please read Additional Information section.
Or anything that tries to pull Docker images from an internal Docker repository.
Result
Error response from daemon: Get "artifactory.{{company}}.com": dial tcp: lookup artifactory.{{company}}.com on 192.168.5.3:53: read udp 192.168.5.15:35829->192.168.5.3:53: i/o timeout
Expected Behavior
Be able to pull the images from the internal repository
Additional Information
As discussed in Slack (https://rancher-users.slack.com/archives/C0200L1N1MM/p1652402759907389), we debugged this issue and found the root cause and workaround.
When running dig against the domain that is failing, we found that the internal company domain is resolved to a CNAME with .local domain, which then resolves it to its corresponding IP (see the ANSWER SECTION):
This is a common misconfiguration in the company network/DNS setup, as .local domains should not be used for regular domains. It is reserved for mDNS.
However, we found a workaround. First we need to stop Rancher Desktop. Then edit (or create if not there) the lima overrides ~/Library/Application\ Support/rancher-desktop/lima/_config/override.yaml:
Where {{internal-domain}} in our case was artifactory.{{company}}.com and {{masked-ip}} is the resolved IP from the record A in the ASNWER SECTION in the response above. This will bypass the .local domain, which is the one causing the issue. Then start RD again and now it's able to resolve the internal domain.
Some points to note about this workaround:
The lima override.yaml will get deleted in case of RD factory reset.
This file needs to be maintained, i.e. if this IP address changes then we need to again stop RD, edit the IP and start RD.
Rancher Desktop Version
1.3.0
Rancher Desktop K8s Version
1.23.6
Which container runtime are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
macOS Monterey 12.3.1
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
No response
The text was updated successfully, but these errors were encountered:
Actual Behavior
RD is failing to retrieve docker images from an internal repository (in our case Artifactory). The repository domain is something like
artifactory.{{company}}.com
.Images from other public repositories are pulled with no issues, so only the internal repository is failing.
However we found a workaround, please read
Additional Information
section.Steps to Reproduce
Or anything that tries to pull Docker images from an internal Docker repository.
Result
Expected Behavior
Be able to pull the images from the internal repository
Additional Information
As discussed in Slack (https://rancher-users.slack.com/archives/C0200L1N1MM/p1652402759907389), we debugged this issue and found the root cause and workaround.
When running
dig
against the domain that is failing, we found that the internal company domain is resolved to a CNAME with.local
domain, which then resolves it to its corresponding IP (see theANSWER SECTION
):This is a common misconfiguration in the company network/DNS setup, as
.local
domains should not be used for regular domains. It is reserved for mDNS.However, we found a workaround. First we need to stop Rancher Desktop. Then edit (or create if not there) the lima overrides
~/Library/Application\ Support/rancher-desktop/lima/_config/override.yaml
:Where
{{internal-domain}}
in our case wasartifactory.{{company}}.com
and{{masked-ip}}
is the resolved IP from the recordA
in theASNWER SECTION
in the response above. This will bypass the.local
domain, which is the one causing the issue. Then start RD again and now it's able to resolve the internal domain.Some points to note about this workaround:
override.yaml
will get deleted in case of RD factory reset.Rancher Desktop Version
1.3.0
Rancher Desktop K8s Version
1.23.6
Which container runtime are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
macOS Monterey 12.3.1
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
No response
The text was updated successfully, but these errors were encountered: