Java application cannot run inside UBI Openjdk image on OpenShift 4

Solution Verified - Updated -

Issue

  • After changing the base image to ubi openjdk (registry.access.redhat.com/ubi8/openjdk-8:1.11-1.1648459552) it runs failed on OCP
  • Error with deploying an java app with ubi openjdk image, even I changed it to an anyuid scc
  • It runs well with my docker but not OCP 4

Environment

  • Red Hat Openshift Container Platform 4.6+

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