https://rancher.com/ logo
Title
s

swift-wall-53633

12/23/2022, 10:49 AM
Hi! I have installed Rancher Desktop, and clicked on the option:
Expose Rancher Desktop's Kubernetes configuration and Docker socket to Windows Subsystem for Linux (WSL) distros
But I have to run as root, or else I get :
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "<http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json>": dial unix /var/run/docker.sock: connect: permission denied
Because
$ ls -l /var/run/docker.sock
srwxr-xr-x 1 root root 0 Dec 12 13:46 /var/run/docker.sock
I'd like to run with some group membership, so I can run docker cli as a normal user
r

rapid-eye-50641

12/23/2022, 6:28 PM
Can you please try the solution provided in this FAQ ?