-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker pull does not work for windows when connected to corporate vpn cisco anyconnect #2477
Comments
@Nino-K @jandubois please advise |
Please try enabling the experimental host resolver and report back if that fixes your problem. This will become the default resolver in the next release. |
@jandubois tried setting "experimentalHostResolver": true but still "docker pull " fails when connected to VPN |
Did you stop Rancher Desktop completely (make sure the icon from the system tray is gone), and restart it? The change only takes effect during the start of the VM. Also double-check that your change is still in the setting file; if you edit it while Rancher Desktop is running, it may get overwritten again because the app doesn't expect the file to be modified at runtime. |
@ripun Have you tried out wsl-vpnkit. I also had an issue with 'docker pull'. After installing the kit as mentioned on their page, starting Rancher Desktop and afterwards establishing the VPN-connection it worked. Still the order is important in my case. First Rancher Desktop needs to be up (I just wait for the loading bar to disappear). After that the VPN-connection can be established and the command may also work in your case now. |
@cinnamon-coder-hub thanks for the suggestion, however, we have implemented |
We tried already "experimentalHostResolver":true but it does not help |
same issue
|
@ripun thanks for the update, I just want to narrow down the issue. Have you tried accessing this private registry prior to using Rancher Desktop (has it ever worked before)? or have you attempted to ping it from the host machine? I just want to make sure that the middle appliances (Cisco ASA Adaptive Security Appliance and WSA Web Security Appliance) that are used by cisco anyconnect are not filtering out your private registry port. You could also try using nmap utility to see if the registry port is potentially being filtered out by the anyconnect infrastructure. Also, have you tried to run |
@Nino-K sorry for late reply , Yes same private registry is accessible from MacOS using rancher-desktop
|
@ripun Thanks for the update, I got a chance to test this on my side with a similar setup as you described (accessing a private registry via Cisco anyconnect with rancher desktop), and I successfully managed to pull images and ping my private registry. However, I would like to point out a few things that came to my attention:
Thanks! |
@Nino-K Will ask other team members on windows to check this , I have mac currently |
Actual Behavior
We are using Rancher desktop for local development activities , as part of work we need to do "docker push/pull" from our privately hosted container registries
We installed Rancher desktop 1.4.1 on windows and when we connect to corporate VPN then docker pull does not work and fails with below error
Steps to Reproduce
Install Rancher desktop 1.3/1.4.1
Enable Corporate VPN(Cisco anyconnect)
try to docker pull from corporate private docker registry
Result
dial tcp: lookup <private_docker_registry>.companycorp.com on xx.xx.xx.xx:53: server misbehaving
Expected Behavior
It should download/pull image
Additional Information
tried "experimentalHostResolver": false and other few things but nothing helped
Rancher Desktop Version
1.4.1
Rancher Desktop K8s Version
1.24
Which container runtime are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Windows 10 Pro
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
Cisco Anyconnect VPN
This issue should be addressed
The text was updated successfully, but these errors were encountered: