This message was deleted.
# rancher-desktop
a
This message was deleted.
b
Rancher desktop version is 1.13.1
f
This looks like you had Docker Desktop installed before, and for some reason Rancher Desktop didn't update your
.docker/config.json
file. It should look something like this:
Copy code
C:\Users\SUSE>type .docker\config.json
{
  "credsStore": "wincred"
}
From the error message it sounds like yours sets
credsStore
to
desktop
, which is a proprietary Docker Desktop helper.
Just edit the file to change this setting (or just overwrite it with the minimal config I showed above), and it should start working again.
b
I tired this multiple times
Every time I restart rancher
The config.json file in the .docker folder on my machine defaults to credsStore: wincred
f
Then I don't understand where this error message is coming from
Copy code
exec "docker-credentials-desktop.exe" executable file not found
Because
docker
will generate the credential helper name from this setting. How are you logging in, using
docker.exe
from the commandline?
b
logging in through an ubuntu terminal
f
Did you enable "WSL Integration" for your Ubuntu distro?
πŸ‘ 1
b
yep if you mean through the preferences tab rancher desktop? ive got that on
f
Can you check the
config.json
and the path to
docker
from inside the distro?
Copy code
suse@rd-w11-test-1:~$ which docker
/mnt/c/Program Files/Rancher Desktop/resources/resources/linux/bin//docker
suse@rd-w11-test-1:~$ docker login
Authenticating with existing credentials...
Login Succeeded
suse@rd-w11-test-1:~$ cat ~/.docker/config.json
{
        "auths": {
                "<https://index.docker.io/v1/>": {}
        },
        "credsStore": "wincred.exe"
πŸ‘ 1
b
sure Jan, how do i go about doing that sorry
f
Just run the same commands I did. You said you are using an Ubuntu terminal
πŸ‘ 1
b
interestingly this points to the docker desktop.exe might be onto something here Jan... πŸ™‚
f
That's why I asked if you have the WSL integration enabled for your Ubuntu distro. That is supposed to update the
config.json
inside that distro.
b
this is the only thing i see in my view of things 😞
dont have the other option
Debian
or even Ubuntu-22.04
f
No, this is fine, you get a checkbox for each WSL distro you have installed.
I have 2 distros installed, and my Ubuntu distro has a different name. But the thing that matters is that your distro has the checkbox.
πŸ‘ 1
You can either edit the file manually, or you could try to delete it and restart Rancher Desktop and see if it creates it again with the correct contents
πŸ‘ 1
b
edit it within the ubuntu terminal right?
f
yes
πŸ™ 1
b
perf, will give that a whirl and let you know thnx!
this worked
can you explain this to me
please thank you Jan
is it the config.json of rancher that i had to change?
f
It is used by the
docker
executable to find the credential helper
πŸ‘ 1
b
interesting so if i didnt have to install docker desktop in the first place i wouldnt be having this issue
f
Yes
b
before i changed it to the correct one it was using the docker desktop one config that was left lying about because of docker desktop?
f
There is some logic in Rancher Desktop that prevents it from overwriting Docker Desktop settings when Docker Desktop is still installed
Yes, Docker Desktop is the only software that sets
credsStore
to
desktop.exe
πŸ‘ 1
b
sending you a lot of kudos my friend, you've helped me a lot today!
top top lad Jan
f
You are welcome; I hope it is smooth sailing for you from now on
πŸ™ 1
b
stay blessed on this beautiful Friday
what a legend you are mate