LinuxCommandLibrary

limactl

manages Lima Linux virtual machines

TLDR

Create and start default VM
$ limactl start
copy
Create VM from template
$ limactl start --name=[myvm] template://ubuntu
copy
List VMs
$ limactl list
copy
Stop a VM
$ limactl stop [name]
copy
Delete a VM
$ limactl delete [name]
copy
Open shell in VM
$ limactl shell [name]
copy
Copy files to VM
$ limactl copy [local-file] [name]:[remote-path]
copy

SYNOPSIS

limactl command [options]

DESCRIPTION

limactl manages Lima (Linux Machines) virtual machines on macOS, Linux, and NetBSD. Creates Linux VMs with automatic file sharing and port forwarding. Supports containerd/nerdctl for container workloads.

PARAMETERS

start [name]

Create and start a VM.
stop name
Stop a running VM.
delete name
Delete a VM.
list
List all VMs.
shell name
Open shell in VM.
copy src dest
Copy files to/from VM.
edit name
Edit an instance configuration.
snapshot subcommand
Manage instance snapshots (apply, create, delete, list).
disk subcommand
Manage additional disks (create, delete, list, resize).
protect name
Protect an instance from accidental removal.
unprotect name
Remove protection from an instance.
factory-reset name
Factory reset an instance.
--name name
Specify VM name.

SEE ALSO

nerdctl(1), docker(1)

Copied to clipboard