I'm encountering the following kubernetes launchin...
# rancher-desktop
m
I'm encountering the following kubernetes launching error and am unable to start the Docker daemon. Could you please tell me how to resolve it?
Copy code
'time="2025-06-23T19:49:36+09:00" level=debug msg="ResolveVMType: resolved VMType \\"qemu\\" (explicitly specified in []*LimaYAML{o,y,d}[1])"\n' +
    'time="2025-06-23T19:49:36+09:00" level=debug msg="Make sure \\"rancher-desktop-shared\\" network is stopped"\n' +
    'time="2025-06-23T19:49:36+09:00" level=info msg="Stopping socket_vmnet daemon for \\"rancher-desktop-shared\\" network"\n' +
    'time="2025-06-23T19:49:36+09:00" level=fatal msg="passwordLessSudo error: failed to run [sudo --user root --group wheel --non-interactive true]: exit status 1"\n',
  code: 1,
  [Symbol(child-process.command)]: '/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl --debug start --tty=false 0'
}
2025-06-23T10:49:36.797Z: Progress: errored Starting Backend: Error: /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl exited with code 1
Environment: • macOS 14.4 • Apple M3 16GB
I tried the followings but no one resolve my issue 😢 • brew uninstall rancher && brew install --cask rancher • factory-reset
This is the cli log when executing
rdctl factory-reset
but seems not working.
f
There is something wrong with the
sudo
setup. Do you really need "Admin access"? The only things it provides is having the docker socket at
/var/run/docker.sock
and getting an external IP address for the VM. The default socket location is rarely needed as most software now correctly handle docker contexts. And the external IP address is only needed if you want to access your containers from other machines in the local network.
👀 1
So I would try disabling admin mode to see if that fixes your issue.
m
Thank you for advise! I could move forward, but I still have an issue. When I reinstalled rancher-desktop, I could not get
.rd/docker.sock
.
f
You need to use the
rancher-desktop
context:
docker context use rancher-desktop
m
Sorry for the lack of explanation. Even after reinstalling Rancher Desktop,
rancher-desktop
isn't present in my Docker context. This is the output of
docker context ls
.
Copy code
NAME        DESCRIPTION                               DOCKER ENDPOINT               ERROR
default *   Current DOCKER_HOST based configuration   unix:///var/run/docker.sock
I dont know why I cant get rancher-desktop context.
Although the problem isn't fixed, Cursor helped me pinpoint the root cause. It appears to be an environment-specific issue on my end, so I'll take care of it completely. Thanks for all your support!
f
Once you have confirmed the issue, can you leave an update here? Or as a discussion entry on GitHub?
👍 1
m
I noticed this issue comes from lima, not rancher-desktop. I got totally same problems when installing and running colima. My issue is cloud-init failure, maybe. I' ll notify specific issue in slack lima channel👍