docker exec or oc rsh fails with oci error: Connection reset by peer

Solution Verified - Updated -

Issue

  • oc rsh fail with oci error "connection reset by peer" and oc exec without -it has panic.

  • Readiness probe fails with Readiness probe failed: 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\""

  • The following error is seen when we run docker exec ... or oc rsh:

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\"

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux Atomic Host 7.6.1
  • OpenShift Container Platform, v3.9+
  • docker, 1.13.1-84.git07f3374.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content