Skip to content

Conversation

@AkihiroSuda
Copy link
Member

/tmp/lima is no longer mounted by default, so as to allow multiple users to run Lima instances independently.

Fix #3648

To restore the previous behavior, add the following to your YAML config:

mounts:
- location: "{{.GlobalTempDir}}/lima"
  mountPoint: /tmp/lima
  writable: true

or, use the following CLI flag:

limactl create --mount /tmp/lima:w

`/tmp/lima` is no longer mounted by default, so as to allow multiple
users to run Lima instances independently.

Fix issue 3648

To restore the previous behavior, add the following to your YAML config:

```yaml
mounts:
- location: "{{.GlobalTempDir}}/lima"
  mountPoint: /tmp/lima
  writable: true
```

or, use the following CLI flag:

```bash
limactl create --mount /tmp/lima:w
```

Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda AkihiroSuda added this to the v2.0.0 milestone Sep 3, 2025
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

- Memory: 4 GiB
- Disk: 100 GiB
- Mounts: `~` (read-only), `/tmp/lima` (writable)
- Mounts: `~` (read-only), `/tmp/lima` (writable; removed in Lima v2.0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment about /tmp/lima should be removed when 2.0 is released.

@jandubois jandubois merged commit 9210ae0 into lima-vm:master Sep 3, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: discourage /tmp/lima on shared hosts (and deprecate it?)

2 participants