https://canonical.com/multipass
方便快捷地创建Ubuntu虚拟机,支持Linux,MacOS(x86_64/arm64)和Windows
需要在官网下载安装程序
# 创建虚拟机 multipass launch --name foo # 执行命令 multipass exec foo -- lsb_release -a multipass exec foo -- /bin/bash # 查看虚拟机列表 multipass list # 开机/关机 multipass start foo multipass stop foo bar # 删除 multipass delete bar