本文主要是介绍shim error: docker-runc not installed on system,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
问题描述:shim error: docker-runc not installed on system
解决办法:
方式一:
cd /usr/libexec/docker/sudo ln -s docker-runc-current docker-runc
方式二:
vi /etc/docker/daemon.json # 添加内容如下:
{"log-level":"warn","runtimes": {"docker-runc": {"path": "/usr/libexec/docker/docker-runc-current"}},"add-runtime": "docker-runc=/usr/libexec/docker/docker-runc-current","default-runtime": "docker-runc"
}# 保存退出,执行如下动作:systemctl daemon-reload
systemctl start docker
这篇关于shim error: docker-runc not installed on system的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!