echoing-rainbow-51831
02/02/2023, 4:54 AM'time="2023-02-01T18:35:37+05:30" level=fatal msg="failed to run [sudo --user root --group wheel --non-interactive /bin/mkdir -m 775 -p /private/var/run]: stdout=\\"\\", stderr=\\"sudo: a password is required\\\\n\\": exit status 1"\n',
code: 1,
command: [
'/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl>',
'start',
'--tty=false',
'/Users/xxx.xxx/Library/Application Support/rancher-desktop/lima/_config/0.yaml'
]
}
Thread in #generalfast-garage-66093
02/02/2023, 5:29 PMsudo
without a password. This is needed to give Rancher Desktop and externally routable IP address, and to create a symlink to /var/run/docker.sock
if you are using the moby engine. You can use docker context use rancher-desktop
instead of using the socket in the system default location. So if you don't need an external address for your cluster, you can simply disable "admin access" in the settings, and the error should be avoided.echoing-rainbow-51831
02/06/2023, 10:10 AMfast-garage-66093
02/06/2023, 4:56 PMrdctl list-settings
while Rancher Desktop is up (if in non-working mode) and verify:
$ ~/.rd/bin/rdctl list-settings | grep -i sudo
"suppressSudo": true,