【错误解决】docker找不到runc:failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime

文章目录

    • 错误提示
    • 解决办法
    • 效果展示
    • runc资源下载

错误提示

Error executing command: exit status 127
 | 8a3209ebebdb83e2f4cb94e6428c05f3cfe6c27651ed5a77a9771a312b2ab6d7
docker: Error response from daemon: failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v2.task/moby/8a3209ebebdb83e2f4cb94e6428c05f3cfe6c27651ed5a77a9771a312b2ab6d7/log.json: no such file or directory): runc did not terminate successfully: exit status 127: unknown.

【错误解决】docker找不到runc:failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime_第1张图片

【错误解决】docker找不到runc:failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime_第2张图片

level=warning msg="failed to retrieve runc version: exit status 127"

【错误解决】docker找不到runc:failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime_第3张图片

解决办法

找到主机中关于runc的地方,有下面这三个。
其中:
/usr/local/bin下面的文件是我自己下载传上去的,其他两个是原有的。用自己传上去的那个替换之前的两个,就可以了。
可能之前的那两个出现问题了,替换了就好了!

【错误解决】docker找不到runc:failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime_第4张图片

效果展示

【错误解决】docker找不到runc:failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime_第5张图片

【错误解决】docker找不到runc:failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime_第6张图片

【错误解决】docker找不到runc:failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime_第7张图片

runc资源下载

下载传送门

你可能感兴趣的:(云计算,docker,容器,运维)