This message was deleted.
# rancher-desktop
a
This message was deleted.
n
I having using wsl2
Also getting this error when I reset the K8 setting:
I have already kubectl installed
Copy code
where kubectl
/usr/local/bin/kubectl
/mnt/c/Users/xxxxxx/AppData/Local/Programs/Rancher Desktop/resources/resources/linux/bin/kubectl
w
are you using dockerd or containerd as your container engine? is nerdctl working when docker cli doesn’t?
n
Actually I tried to install again and get this error message.
Copy code
Last command run:
wsl.exe --import rancher-desktop C:\Users\wto713\AppData\Local\rancher-desktop\distro C:\Users\wto713\AppData\Local\Programs\Rancher Desktop\resources\resources\win32\distro-0.21.tar --version 2
Copy code
2022-10-24T12:09:52.078Z: Registered distributions: 
2022-10-24T12:09:52.104Z: Capturing output: wsl.exe --list --quiet
2022-10-24T12:09:52.714Z: Capturing output: wsl.exe --list --verbose
2022-10-24T12:09:53.130Z: Registered distributions: 
2022-10-24T12:09:53.130Z: Capturing output: wsl.exe --list --quiet
2022-10-24T12:09:53.337Z: Capturing output: wsl.exe --list --verbose
2022-10-24T12:09:53.500Z: Registered distributions: 
2022-10-24T12:09:53.503Z: Running: wsl.exe --import rancher-desktop C:\Users\wto713\AppData\Local\rancher-desktop\distro C:\Users\wto713\AppData\Local\Programs\Rancher Desktop\resources\resources\win32\distro-0.21.tar --version 2
2022-10-24T12:10:39.415Z: WSL failed to execute wsl.exe --import rancher-desktop C:\Users\wto713\AppData\Local\rancher-desktop\distro C:\Users\wto713\AppData\Local\Programs\Rancher Desktop\resources\resources\win32\distro-0.21.tar --version 2: Error: wsl.exe exited with code 4294967295
I have wsl 1 already installed
w
looks like WSL is having some issues. I have seen problems where RD is responsible for installing Hyper-V and WSL. Do you have any other WSL2 distros running on your machine?
n
No
w
also are you really on RD 1.3? or 1.6? error message lists 1.3 which is quite old
n
wsl -l -v NAME STATE VERSION * Ubuntu Running 1
Version: 1.3.0
Let me try again with the latest version
w
so if you upgrade that v1 to v2 does it still work
n
Now I installed the latest version of RD but still getting this error
Copy code
docker pull hello-world
Using default tag: latest
error during connect: This error may indicate that the docker daemon is not running.: Post "<http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=hello-world&tag=latest>": open //./pipe/docker_engine: The system cannot find the file specified.
w
are you configured to use dockerd or containerd in Rancher’s dialog?
and if dockerd did you do the docker content use rancher-desktop if you are not running admin
n
containerd
w
well than you need to use nerdctl pull hello-world 😉
n
ok but I think my installation still have some issues.
w
yeah definitely still has issues. My gut tells me that WSL2/Hyper-V is not working on your machine correctly
its either WSL2 is not installed correctly or it could be admin is needed to complete the import
i would try to convert your Ubnt20 to v2 to see if it starts and runs. if so than the alpine distro for RD shouldn’t have issues
n
I am working in WSL2 installation to get this going.... I will also try alpine if ubuntu didn't work
Thanks for your help!
w
well RD is an alpine distro. if you cant do a set-version 2 for your existing ubuntu and it works than RD will have issues
n
Finally !!
I have installed the new wsl2 ubuntu version but I have to first uninstall the RD.
Then I install the RD and it works as expected
I didn't want to disturb my current wsl1 Ubuntu setup due to networking