start

limactl start

Start an instance of Lima

limactl start NAME|FILE.yaml|URL [flags]

Examples


To create an instance "default" (if not created yet) from the default Ubuntu template, and start it:
$ limactl start

To create an instance "default" from a template "docker", and start it:
$ limactl start --name=default template://docker

'limactl start' also accepts the 'limactl create' flags such as '--set'.
See the examples in 'limactl create --help'.

Options

      --arch string         [limactl create] Machine architecture (x86_64, aarch64, riscv64, armv7l, s390x)
      --containerd string   [limactl create] containerd mode (user, system, user+system, none)
      --cpus int            [limactl create] Number of CPUs
      --disk float32        [limactl create] Disk size in GiB
      --dns ipSlice         [limactl create] Specify custom DNS (disable host resolver) (default [])
      --foreground          Run the hostagent in the foreground
  -h, --help                help for start
      --list-templates      [limactl create] List available templates and exit
      --memory float32      [limactl create] Memory in GiB
      --mount strings       [limactl create] Directories to mount, suffix ':w' for writable (Do not specify directories that overlap with the existing mounts)
      --mount-inotify       [limactl create] Enable inotify for mounts
      --mount-type string   [limactl create] Mount type (reverse-sshfs, 9p, virtiofs)
      --mount-writable      [limactl create] Make all mounts writable
      --name string         [limactl create] Override the instance name
      --network strings     [limactl create] Additional networks, e.g., "vzNAT" or "lima:shared" to assign vmnet IP
      --plain               [limactl create] Plain mode. Disables mounts, port forwarding, containerd, etc.
      --rosetta             [limactl create] Enable Rosetta (for vz instances)
      --set string          [limactl create] Modify the template inplace, using yq syntax
      --timeout duration    Duration to wait for the instance to be running before timing out (default 10m0s)
      --video               [limactl create] Enable video output (has negative performance impact for QEMU)
      --vm-type string      [limactl create] Virtual machine type (qemu, vz)

Options inherited from parent commands

      --debug               Debug mode
      --log-format string   Set the logging format [text, json] (default "text")
      --log-level string    Set the logging level [trace, debug, info, warn, error]
      --tty                 Enable TUI interactions such as opening an editor. Defaults to true when stdout is a terminal. Set to false for automation.
  -y, --yes                 Alias of --tty=false

SEE ALSO

  • limactl - Lima: Linux virtual machines