1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-10 06:05:27 +02:00
tldr/pages/common/limactl.md
Managor 79b8d3e3b8
*: replace … with individual dots and refresh pages (#16368)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-05-04 10:20:26 +03:00

33 lines
869 B
Markdown

# limactl
> Virtual machine manager for Linux guests, with multiple VM templates available.
> Can be used to run containers on macOS, but also for generic virtual machine use cases on macOS and Linux hosts.
> More information: <https://github.com/lima-vm/lima>.
- List VMs:
`limactl list`
- Create a VM using the default settings and optionally provide a name and/or a template (see `limactl create --list-templates` for available templates):
`limactl create --name {{vm_name}} template://{{debian|fedora|ubuntu|...}}`
- Start a VM (this might install some dependencies in it and take a few minutes):
`limactl start {{vm_name}}`
- Open a remote shell inside a VM:
`limactl shell {{vm_name}}`
- Run a command inside a VM:
`limactl shell {{vm_name}} {{command}}`
- Stop/shutdown a VM:
`limactl stop {{vm_name}}`
- Delete a VM:
`limactl remove {{vm_name}}`