DescriptionLalatendu Mohanty
2018-12-04 10:54:56 UTC
Description of problem:
docker exec command on Ubuntu container is failing.
However, it works fine on CentOS container inages
Version-Release number of selected component (if applicable):
docker 1.13.1-84.git07f3374 (RPM version i.e. rpm -qa | grep docker)
How reproducible:
Always
Steps to Reproduce:
On RHEL 7.6 run following commands
1. docker run -ti --rm ubuntu bash
2. Open a new tab
3. run the "docker ps" command and note the container ID for the Ubuntu container
4. Run "docker exec -ti <Container ID> bash"
Actual results:
$ docker exec -ti 015c6ad3c816 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\""
Expected results:
docker exec command should run without any issue
Additional info:
The issue is coming with docker 1.13.1-84.git07f3374 (RPM version), but we cannot reproduce the same issue with docker 1.13.1-75.git8633870.
We got this while testing latest CDK build based on latest RHEL 7 : https://issues.jboss.org/browse/CDK-380
There is an existing Origin issue on this https://github.com/openshift/origin/issues/21590
Comment 2Lalatendu Mohanty
2018-12-04 11:06:27 UTC
It is also failing for busybox
$ docker run -ti --rm busybox sh
In a new shell
$ docker exec -ti 55d7f58509b6 sh
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\""