← 返回命令列表

Linux command

lima 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create default VM

limactl create

Start VM

limactl start [default]

Stop VM

limactl stop [default]

Shell into VM

limactl shell [default]

List VMs

limactl list

Delete VM

limactl delete [default]

说明

lima (Linux Machines) runs Linux VMs on macOS. It provides automatic file sharing and port forwarding. The tool uses QEMU for virtualization. It's commonly used for running containerd and Docker on macOS.

参数

create _INSTANCE_
Create a new VM instance.
start _INSTANCE_
Start VM instance.
stop _INSTANCE_
Stop VM instance.
shell _INSTANCE_
Open shell in instance.
list
List all instances.
delete _INSTANCE_
Delete instance.
--help
Display help information.

FAQ

What is the lima command used for?

lima (Linux Machines) runs Linux VMs on macOS. It provides automatic file sharing and port forwarding. The tool uses QEMU for virtualization. It's commonly used for running containerd and Docker on macOS.

How do I run a basic lima example?

Run `limactl create` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does create _INSTANCE_ do in lima?

Create a new VM instance.