gpt4 book ai didi

docker - 错误响应 : Could not kill running container runc did not terminate sucessfully: container_linux. go:392: init process caused "permission denied"

转载 作者:行者123 更新时间:2023-12-05 07:06:57 26 4
gpt4 key购买 nike

当我尝试在 fabric-samples/first-network 中运行 ./byfn up 时,出现以下错误。

Error response from daemon: Could not kill running container facc0618bbbe6741acf58167842b4a44f4749b69d9428936768959715c84c0fe, cannot remove - Cannot kill container facc0618bbbe6741acf58167842b4a44f4749b69d9428936768959715c84c0fe: unknown error after kill: runc did not terminate sucessfully: container_linux.go:392: signaling init process caused "permission denied"

我尝试重新安装 docker,重新加载 docker 镜像,重新加载 fabric-samples,检查路径但没有成功,任何人都可以指出导致此错误的原因,谢谢。

最佳答案

这是对我有用的。但每次都必须重复。因此,这不是一个好的解决方案:

sudo killall containerd-shim

如果还是不行就删除所有再试

sudo docker rm -vf $(sudo docker ps -a -q)

尝试,如果它仍然报错,那么尝试:

sudo docker system prune -a
sudo docker rmi -f $(sudo docker images -q)

如果它仍然无法正常工作,那么也删除卷

关于docker - 错误响应 : Could not kill running container runc did not terminate sucessfully: container_linux. go:392: init process caused "permission denied",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62315555/

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