安装lima
powershell
brew install lima
创建配置
powershell
echo "\\ndynamic:\n big-sur:\n image: docker://docker:git\n linux:\n image: docker.io/limasoftware/ubuntu:20.04 \\n" > ~/.lima/default.yaml
启动名叫default的虚拟机
powershell
limactl start default
测试
powershell
limactl shell docker docker search mysql