Customize UID/GID in JWS image in OCP 4

Solution Verified - Updated -

Issue

How to to run JWS as different UID/GID with image, e.g. FROM registry.redhat.io/jboss-webserver-5/jws57-openjdk11-openshift-rhel8:5.7.1?

Environment

  • Red Hat JBoss Web Server
    • 5.7
  • Red hat OpenShift Container Platform (OCP)
    • 4.x

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