gpt4 book ai didi

docker:来自守护进程的错误响应:运行时 "io.containerd.runc.v2"未安装二进制文件 "containerd-shim-runc-v2":文件不存在:未知

转载 作者:行者123 更新时间:2023-12-04 18:48:35 27 4
gpt4 key购买 nike

docker安装后,我尝试运行

docker run --rm hello-world
并得到这个错误:
docker: Error response from daemon: runtime "io.containerd.runc.v2" binary not installed "containerd-shim-runc-v2": file does not exist: unknown.
ERRO[0000] error waiting for container: context canceled

最佳答案

我确定这不是“正确”的解决方案,但我在此站点上找到了解决方法:
https://github.com/containerd/containerd/issues/3473#issuecomment-516887500
为了解决它,我做了:

❯ find / -name containerd-shim-runc-v1
/usr/bin/containerd-shim-runc-v1
然后:(确保这是您机器中的正确路径)
sudo cp /usr/bin/containerd-shim-runc-v1 /usr/bin/containerd-shim-runc-v2

关于docker:来自守护进程的错误响应:运行时 "io.containerd.runc.v2"未安装二进制文件 "containerd-shim-runc-v2":文件不存在:未知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68847761/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com