openJDK17 Image is failing to start after Source-to-Image build on OpenShift Container Platform

Solution Verified - Updated -


  • After successfully building the example with ubi8/openjdk-17, the pod is failing to start and reporting the below error.

    $ oc logs openjdk-846c579c-hvt9r
    Starting the Java application using /opt/jboss/container/java/run/ ...
    /opt/jboss/container/java/run/ line 223: /home/jboss/passwd: Permission denied


  • Red Hat OpenShift Container Platform 4
  • ubi8/openjdk-17

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