[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Openshift Origin and fixed user ID

Alternatively to relying on fixed user ids, you can make the files that your app requires to write, writable to the `root` *group*. For files that your app needs to read, they can be public readable or readable by the `root` group again.

OpenShift will give your container a random UID but the GID 0.

This will allow your containers to run without special permissions which would be more secure.


Marcello Lorenzi wrote on 09/13/17 18:32:
HI All,
we have created some images with commands executed by user jboss and its user id is fixed to 500 into the docker file. If we start the image on Origin the image fails for the permission denied. We discovered that Origin use a random uid assignment during the image creation, but is it possible to fix the user id for a specific user like jboss for all the container?


users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]