DEV Community

Dmitry Romanoff
Dmitry Romanoff

Posted on

Getting error when starting Rancher Desktop on Mac.

Rancher Desktop is an open-source application that provides container management and Kubernetes on your local computers.

In case you’re trying to start Rancher Desktop on Mac with M1/M2/M3 processor you may face the following error:

'/bin/sh',
 '-c',
 'rm -f /usr/local/share/ca-certificates/rd-*.crt'
 ],
 stdout: '',
 stderr: '',
 code: 255,
 [Symbol(child-process.command)]: '/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura shell - workdir=. 0 sudo /bin/sh -c rm -f /usr/local/share/ca-certificates/rd-*.crt'
}
Enter fullscreen mode Exit fullscreen mode

The root cause:

M1/M2/M3 chips are incompatible with the version of QEMU included in Rancher Desktop; need to use VZ emulation

The solution:

You can do the cleanup with a factory reset and use VZ emulation:

/Applications/Rancher\ Desktop.app/Contents/Resources/resources/darwin/bin/rdctl factory-reset
/Applications/Rancher\ Desktop.app/Contents/Resources/resources/darwin/bin/rdctl start - experimental.virtual-machine.type vz
Enter fullscreen mode Exit fullscreen mode

Top comments (0)