Getting error when starting Rancher Desktop on Mac.

Rmag Breaking News

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’
}

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

Leave a Reply

Your email address will not be published. Required fields are marked *