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

Options

      --arch string                [limactl create] Machine architecture (x86_64, aarch64, riscv64, armv7l, s390x, ppc64le)
      --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-drivers               [limactl create] List available drivers and exit
      --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-none                 [limactl create] Remove all mounts
      --mount-only strings         [limactl create] Similar to --mount, but overrides the existing 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.
      --port-forward stringArray   [limactl create] Port forwards (host:guest), e.g., '8080:80' or '9090:9090,static=true' for static port-forwards
      --progress                   Show provision script progress by tailing cloud-init logs
      --rosetta                    [limactl create] Enable Rosetta (for vz instances)
      --set string                 [limactl create] Modify the template inplace, using yq syntax
      --ssh-port uint16            [limactl create] SSH port (0 for random)
      --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

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