Skip to content

Commit

Permalink
Merge pull request #142 from afbjorklund/lima-details
Browse files Browse the repository at this point in the history
Show information about cpus, memory and mounts
  • Loading branch information
DrDaveD authored Dec 6, 2023
2 parents 5025f66 + f0c13a4 commit 51c41f7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -619,4 +619,12 @@ To use Lima via Homebrew:
Then do ``limactl start template://apptainer`` and ``limactl shell apptainer``.

See the `lima apptainer template <https://github.com/lima-vm/lima/blob/master/examples/apptainer.yaml>`_ for more details.
To customize cpus and memory on the VM, you can use ``--cpus 1`` and ``--memory 1``.

See the `lima "apptainer" template <https://github.com/lima-vm/lima/blob/master/examples/apptainer.yaml>`_
and the `lima "default" template <https://github.com/lima-vm/lima/blob/master/examples/default.yaml>`_
for more details.

By default, the host home directory is mounted as read-only in the guest,
but there is also a shared writable directory mounted in ``/tmp/lima``
that can be accessed both from the host and in the guest.

0 comments on commit 51c41f7

Please sign in to comment.