error: docker-runc not installed on system
执行docker run报错:/usr/bin/docker-current: Error response from daemon: shim error: docker-runc not installed on system.解决办法1:cd /usr/libexec/docker/sudo ln -s docker-runc-current docker-r...
·
执行docker run报错:
/usr/bin/docker-current: Error response from daemon: shim error: docker-runc not installed on system.
解决办法1:
cd /usr/libexec/docker/
sudo ln -s docker-runc-current docker-runc
解决办法2:
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
更多推荐
已为社区贡献1条内容
所有评论(0)