-
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
Rancher Desktop on MacOS takes over port 53 #2854
Comments
It is not Rancher Desktop, but mDNSResponder that is taking over port 53. It is a macOS component that is automatically started when Rancher Desktop uses Apple's vmnet framework. It is being used to get a routable IP address for the VM running the container engine. If you are fine with just using port forwarding to the host and don't require a separate IP address, then you can disable "administrative access" in the Rancher Desktop preferences. Using vmnet requires starting a daemon via This means that Rancher Desktop will also no longer be able to create the Docker socket in the default location at |
@jandubois thank you very much for the explanation and for the workaround! |
Added benefit of the "workaround": You no longer get prompted for your password the first time you start Rancher Desktop after rebooting your machine (because macOS deletes |
Hi @jandubois - I'm on macOS (Sonoma 14.3), on Apple Silicon (M3, incase that's important, so having to use VZ emulation), latest RD 1.12.2 (but same on 1.12.1) and I cannot get this workaround to work. I've disabled admin access, tried with and without My steps are to quit completely out of RD and verify that there are no RD processes running with
Edits:
Should I open a new issue with these details, or are you able to assist with this information please? |
@jandubois - I've been able to test the issue I reported above on an M1 laptop and have confirmed it's the VZ emulation settings (to work around #5943 on M3). Using default QEMU virtual machine type, which obviously breaks on M3, it does not start the Any ideas? |
Yes, because under VZ emulation Rancher Desktop uses Sorry, I can't think of a workaround for VZ mode right now. I'll re-open this issue so we'll look at it again in the future. |
Hi @jandubois - thanks for the quick response 👍. As I mentioned above, the manual workaround I used was to quit Rancher Desktop, then run and connect Cloudflare WARP, so it can bind on port 53, before running RD again. This seems to work, but is it possible Rancher Desktop is broken in some way I haven't discovered yet by not being able to run |
I don't think so; Rancher Desktop doesn't use It is possible that not running |
Actual Behavior
I have
Rancher Desktop
running on MacOS indockerd (moby)
mode withKubernetes
andTraefik
being both disabled.I see that when Rancher is running, port 53 on my machine is taken:
but when I shut it down then port 53 is free again. Despite the fact that the process name and PID are different, Rancher is definitely causes the port to be taken.
Steps to Reproduce
Rancher Desktop
indockerd (moby)
mode and switch offKubernetes
andTraefik
.sudo lsof -PiTCP -sTCP:LISTEN
commandResult
Other services on the machine cannot use port 53. Noticing VPN clients (like Cloudflare WARP) and other DNS-related tools.
Expected Behavior
Port 53 is not taken over by
Rancher Desktop
(the same wayDocker Desktop
doesn't take over it)Additional Information
No response
Rancher Desktop Version
1.5.1
Rancher Desktop K8s Version
none
Which container engine are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
12.5.1 (21G83)
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: