rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting containe

Posted 喜欢雨天的我

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting containe相关的知识,希望对你有一定的参考价值。

问题

由于Docker 安装的比较老,docker exec -it test bash 存在Bug问题

如下:

rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "process_linux.go:110: decoding init error from pipe caused \\"read parent: connection reset by peer\\""

解决方法

  1. 我的docker 版本
> docker --version
Docker version 1.13.1, build 07f3374/1.13.1
  1. 更新yum 即可修复 (如果yum的仓库连接不成功, 可以使用阿里仓库)
 yum update -y

其他方式

降低版本

yum downgrade docker docker-client docker-common

以上是关于rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting containe的主要内容,如果未能解决你的问题,请参考以下文章

Error response from daemon: rpc error: code = AlreadyExists desc = name conflicts with an existing o

Error response from daemon: rpc error: code = Unknown desc = name conflicts with

解决Docker Swarm集群Error response from daemon: rpc error: code = Unavailable desc = all SubConns are in

解决报错Error response from daemon: rpc error: code = Unavailable desc = all SubConns are in TransientFa

启动链码报rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport start error(示例代码

docker swarm:Error response from daemon: rpc error: code = Unavailable desc = grpc: the connection i