rancher-sandbox / rancher-desktop

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

rdctl is not working from other WSL distros #7363

Open Nino-K opened 3 months ago

Nino-K commented 3 months ago

After switching the default network to the network tunnel, the rdctl seems to be broken and can no longer talk to the server on the host.

Steps to repro:

wsl -d Ubuntu
rdctl list-settings

you will encounter an Error: connection refused. However, from within the namespace, you can define the host as rdctl --host 192.168.127.254 list-settings and everything works fine. This is indicating that we should do the following:

mook-as commented 3 months ago

Would using wsl-proxy make sense here (if we can get it to listen on localhost instead to avoid having to make different builds of rdctl)?