我正在尝试执行 bash
在我的名为“bind”的docker容器中,通过
docker exec -it bind bash
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\""
docker --version:
Docker version 1.13.1, build 07f3374/1.13.1
cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
这似乎是最近更新 docker RPM 包时引入的一个错误。一个临时的解决方法是将所有 docker 包降级到以前的版本(75 似乎可以工作)。
yum downgrade docker-1.13.1-75.git8633870.el7_5 \
docker-client-1.13.1-75.git8633870.el7_5 \
docker-common-1.13.1-75.git8633870.el7_5 \
docker-rhel-push-plugin-1.13.1-75.git8633870.el7_5
关于docker - 无法在 Docker 容器中运行命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53605666/
欢迎光临 OStack程序员社区-中国程序员成长平台 (http://ostack.cn/) | Powered by Discuz! X3.4 |