rancher-sandbox / rancher-desktop

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

Investigate getting a static IP for Rancher Desktop on WSL2 #2661

Open jandubois opened 2 years ago

jandubois commented 2 years ago

From https://github.com/microsoft/WSL/issues/4210 it looks like this is still not possible.

But maybe we can assign another network interface with a fixed IP address. If possible without requiring admin access every time we start it, but that could possibly delegated to a privileged helper.

This story is about doing the research, not about implementing anything just yet (unless it turns out to be unexpectedly trivial).

johannes-engler-mw commented 7 months ago

Hi @jandubois,

there is a new network mode in newer versions of WSL2 which can be used to bind to the IP of the host system. Would be really nice if Rancher Desktop would support this.

BR, Johannes