FWIW, I found a thread on SO that addresses this OpenShift issue with containers seemingly exiting for no apparent reason, even when running as root. It might be TTY related.
openshift pod fails and restarts frequently https://stackoverflow.com/questions/35744404/openshift-pod-fails-and-restarts-frequently/36234707#36234707 What is CrashLoopBackOff status for openshift pods? https://stackoverflow.com/questions/35710965/what-is-crashloopbackoff-status-for-openshift-pods > On January 31, 2020 at 4:40 PM Ron Cecchini <[email protected]> wrote: > > > Thank you, Paul, for your in depth and informative response. > > Here's what we did today as a test: > > In OpenShift, we enabled allowing containers to run however they wanted and > redeployed the Drill Docker. [...] > The result is that the container comes up - shows that the user.name is > indeed root - doesn't give any errors ... > > And then seemingly goes away, again w/o any indication of an error. And then > OpenShift goes into its crash-reboot cycle trying to restart the container, > and each time we see the same thing:
