Skip to content

Commit d769f3a

Browse files
authored
Merge pull request #639 from AkihiroSuda/dev
README.md: add debugging guide for Rancher Desktop users
2 parents 1958d54 + 2c43153 commit d769f3a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ The current default spec:
234234
- ["permission denied" for `limactl cp` command](#permission-denied-for-limactl-cp-command)
235235
- [Networking](#networking)
236236
- ["Cannot access the guest IP 192.168.5.15 from the host"](#cannot-access-the-guest-ip-192168515-from-the-host)
237+
- [External projects](#external-projects)
238+
- ["I am using Rancher Desktop. How to deal with the underlying Lima?"](#i-am-using-rancher-desktop-how-to-deal-with-the-underlying-lima)
237239
- ["Hints for debugging other problems?"](#hints-for-debugging-other-problems)
238240

239241
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -368,6 +370,31 @@ To add another IP address that is accessible from the host and other virtual mac
368370

369371
See [`./docs/network.md`](./docs/network.md).
370372

373+
### External projects
374+
#### "I am using Rancher Desktop. How to deal with the underlying Lima?"
375+
376+
On macOS hosts, Rancher Desktop (as of v1.0) launches Lima with the following configuration:
377+
378+
- `$LIMA_HOME` directory: `$HOME/Library/Application Support/rancher-desktop/lima`
379+
- `limactl` binary: `/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl`
380+
- Lima instance name: `0`
381+
382+
To open a shell, run the following command:
383+
384+
```shell
385+
LIMA_HOME="$HOME/Library/Application Support/rancher-desktop/lima" "/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl" shell 0
386+
```
387+
388+
On Linux hosts, try the following command:
389+
```shell
390+
LIMA_HOME="$HOME/.local/share/rancher-desktop/lima" /opt/rancher-desktop/resources/resources/linux/lima/bin/limactl shell 0
391+
```
392+
393+
If you have installed Rancher Desktop as an AppImage:
394+
```shell
395+
LIMA_HOME="$HOME/.local/share/rancher-desktop/lima" "$(ls -d /tmp/.mount_ranche*/opt/rancher-desktop/resources/resources/linux/lima/bin)/limactl" shell 0
396+
```
397+
371398
### "Hints for debugging other problems?"
372399
- Inspect logs:
373400
- `limactl --debug start`

0 commit comments

Comments
 (0)