limactl

limactl

Lima: Linux 虚拟机

示例

  启动默认实例:
  $ limactl start

  打开 Shell:
  $ lima

  运行容器:
  $ lima nerdctl run -d --name nginx -p 8080:80 nginx:alpine

  停止默认实例:
  $ limactl stop

  参阅模板 YAML 文件: /usr/local/share/lima/templates

选项

      --debug               调试模式
  -h, --help                help for limactl
      --log-format string   设置日志格式 [text, json] (default "text")
      --log-level string    设置日志级别 [trace, debug, info, warn, error]
      --tty                 启用 TUI 交互,如打开编辑器。默认在终端时为 true。自动化时设为 false。
  -y, --yes                 --tty=false 的别名

另请参见