flaky-dusk-65029
09/27/2022, 5:19 PMUbuntu-22.04: Error: File /c/users/<user>/.kube/config exists and is not a symlink
and is grayed out.
• Additionally, I can't run docker in the wsl prompt.
$ docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
• is there something i need to 'clear' or 'reset' first? Am I supposed to uninstall docker desktop / podman desktop?thankful-hospital-82027
09/28/2022, 2:09 PM.kube/config
file.
The path is the one on Windows, so I guess you might have created a symlink on your Ubuntu distro that points to your Windows home (either the full home, or just .kube
directory).
That being said, in your Ubuntu distro, if you rename the .kube
directory, you'll see that the box won't be grayed anymore in Rancher Desktop.
Finally, due to this error, the docker socket is indeed not installed in your Ubuntu distro and that's why you can't run docker commands successfullyflaky-dusk-65029
09/29/2022, 3:18 AM~./kube
and restarted rancher desktop. It recreated a fresh ~/.kube/config
but preferences>WSL still gave me the same error.
I've tried changing rancher to the containerd instead of moby, but nerdctl
also gives me an error inside WSL. This has to do with no systemd, i believe.
FATA[0001] rootless containerd not running? (hint: use `containerd-rootless-setuptool.sh install` to start rootless containerd): stat /wslg/runtime-dir/containerd-rootless: no such file or directory