先 SSH 到虚拟机
LIMA_HOME="$HOME/Library/Application Support/rancher-desktop/lima" "/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl" shell 0
提升权限
sudo su
# lima-rancher-desktop:~#
添加源
vi /etc/docker/daemon.json
{
"registry-mirrors": [
"https://docker.mirrors.ustc.edu.cn",
"https://hub-mirror.c.163.com"
]
}
重新启动 Rancher Desktop
检查配置
docker info
网友评论