rancher-sandbox / rancher-desktop

Container Management and Kubernetes on the Desktop
https://rancherdesktop.io
Apache License 2.0
5.93k stars 280 forks source link

Create a routable IP address on Linux #964

Open jandubois opened 2 years ago

jandubois commented 2 years ago

Similar to #609, but for Linux. Instead of vmnet, we probably want to use a tap device.

Investigate if it makes sense to implement the basic logic upstream in Lima.

mackinleysmith commented 2 years ago

Is there anything I might do to be of service to this objective? It's of particular interest to a project I'm working on, we're having issues with regular kubectl port forwards.

gaktive commented 2 years ago

We need to discuss with @Nino-K to see what solution could be used in light of root requirements.

strowi commented 1 year ago

Would be very interested in this. A bridged interface that has an IP working from inside and outside the vm (linux) will resolve a lot of problems for us. Being able to connect to the same IP from inside and outside is needed for some services. E.g. using 127.0.0.1.nip.io does work from the host, but won't from inside a container.