https://rancher.com/ logo
Title
p

proud-telephone-66502

02/06/2023, 1:04 PM
Hello Team. I am trying to use Rancher desktop. I followed all the instructions on this page - https://confluence.oraclecorp.com/confluence/display/OITCUSTOMER/Rancher+Desktop+for+Windows+Users 1. When I run wsl -l -v, I see that rancher desktop and wsl-vpnkit are running. 2. But when I run docker ps I get the following error. error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/json": open //./pipe/docker_engine: The system cannot find the file specified.
w

wide-mechanic-33041

02/06/2023, 1:07 PM
what does “docker context ls” show?
p

proud-telephone-66502

02/06/2023, 1:07 PM
NAME DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR default * Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine https://192.29.96.33:6443 (default) swarm
There is one more problem. Rancher Desktop is unable to configure kubernetes. It says "Cluster not found". I also see this - Kubernetes is using context
context-cnp5jtmzhja
instead of
rancher-desktop
.
w

wide-mechanic-33041

02/06/2023, 1:16 PM
so seems like there are a couple of issues here. I would start with getting docker/nerdctl stable than move to k8s. I know I have had some hiccups using wsl-vpnkit w k8s as well.
p

proud-telephone-66502

02/06/2023, 2:06 PM
I am sorry, I did not understand.
w

wide-mechanic-33041

02/06/2023, 2:08 PM
i wouldn’t worry about getting kubernetes working initially. I can’t see your internal confluence wiki so no clue whats up there
i would make sure simple docker info and docker run work
p

proud-telephone-66502

02/06/2023, 2:30 PM
so.., what is the next step for that.
w

wide-mechanic-33041

02/06/2023, 3:01 PM
run “`docker info`” and things like “`docker run hello-world`” until they work. Seems like it is likely a WSL issue. does
rdctl shell
work?
p

proud-telephone-66502

02/06/2023, 3:29 PM
i tiied running rdtctl shell. it asked me to upgrde wsl. i ugraded. and all the above commands are working
👍 1
sorry.., hello world is not working
PS C:\windows\system32> docker run hello-world Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded.
Ok. I think it was because of the VPN. Working fine now.