Open jmesnil opened 1 month ago
The jboss
user is created in the Docker image with
RUN groupadd -r jboss -g 1000 && useradd -u 1000 -r -g jboss -m -d /opt/jboss -s /sbin/nologin -c "JBoss user" jboss && \
chmod 755 /opt/jboss
As a comparison, the quay.io/wildfly/wildlfy-runtime is using the 185
UID to create its jboss
user (at https://github.com/wildfly/wildfly-cekit-modules/blob/59426a5dff4a116dc901c3b187c41fb44bd85fcb/jboss/container/user/configure.sh#L8)
I'm unable to connect locally to the
jboss-cli
when the image is deployed on OpenShift.As I am connecting locally from a terminal, I should be identified as the special
$local
user and I don't need to have created an admin user.This does not work on OpenShift (tested on 4.16.4).
However, doing the same thing from
docker
or Kubernetes works as expected.The issue might related to some specific user permission as OpenShift does not identify the user as
jboss
but as1006870000
With
docker
With Kubernetes