mac 安装lima 报错问题记录

安装lima的default.yaml,即containerd和nerdctl

一、一直卡在sshfs的安装过程中,手动登录虚机,执行sudo apt-get install sshfs即可,重启虚机继续安装

INFO[0031] [hostagent] Waiting for the essential requirement 3 of 5: "sshfs binary to be installed"

二、一直卡在user_allow_other这一步,待执行失败超时失败后,手动登录lima shell default,修改/etc/fuse.conf文件,去掉user_allow_other注释,然后停止虚机,重新启动安装

INFO[0032] [hostagent] Waiting for the essential requirement 4 of 5: "/etc/fuse.conf to contain \"user_allow_other\""

二、安装完成后,在mac上执行nerdctl.lima时,报如下错误时,继续登录虚机执行containerd-rootless-setuptool.sh install,如果安装过程中报[rootlesskit:parent] error: failed to setup UID/GID map: newuidmap 1733 [0 1515187040 1 1 100000 65536] failed: : exec: "newuidmap": executable file not found in $PATH,执行sudo apt-get install uidmap。

rootless containerd not running? (hint: usecontainerd-rootless-setuptool.sh installto start rootless containerd): stat /run/user/1515187040/containerd-rootless: no such file or directory

你可能感兴趣的:(mac 安装lima 报错问题记录)