So, got fed-up with minikube+VBox on a mac, decided to give rancher-desktop a twirl - so far MUCH more stable!! - however I cant seem to figure out how to ssh into the linux host vm. What I really need is for a container to be able to connect to the mac host on a specific port. But since I could not figure it out, I worked around it by sshing into the linux host and reverse tunneling the connection. How do I accomplish same thing with Rancher Desktop?
08/11/2022, 8:21 PM
On mac, if you provide root credentials, it creates a fake network that DHCPs onto your local network; so connecting to your host should be possible.
If you want to ssh into the host for whatever reason, please see https://github.com/rancher-sandbox/rancher-desktop/discussions/1313 — but please note that if you make changes we probably can't support that.
08/11/2022, 8:22 PM
I got the connection kinda-sorta figured out - but it is an IP address - I was wondering if I can use a DNS name for it as I have. no idea how reliable that IP is across different times and installs
I would love to avoid reverse tunneling using SSH, and it looks like I can, just need to know how to reference the IP