OpenShift forces regular user's pods to run as high, per project UIDs for security. You can relax that security restriction as documented here: https://docs.openshift.org/latest/admin_guide/manage_scc.html#enable-images-to-run-with-user-in-the-dockerfile or update your image as described here: https://docs.openshift.org/latest/creating_images/guidelines.html#use-uidOn Tue, Aug 18, 2015 at 7:20 AM, Fran Barrera <franbarrera6 gmail com> wrote:_______________________________________________Hello,Hello I'm trying to install jupyterhub with Dockerfile in Openshift 3.The Dockerfile works fine in Docker, but no in OpenshiftThe build finish correctly but the pod is running but give me this error:# oc logs jupyter-1-z1l0hTraceback (most recent call last):File "/usr/local/bin/jupyterhub", line 3, in <module>from jupyterhub.app import mainFile "/usr/local/lib/python3.4/dist-packages/jupyterhub/app.py", line 93, in <class NewToken(Application):File "/usr/local/lib/python3.4/dist-packages/jupyterhub/app.py", line 108, inname = Unicode(getuser())File "/usr/lib/python3.4/getpass.py", line 164, in getuserreturn pwd.getpwuid(os.getuid())KeyError: 'getpwuid(): uid not found: 1000100000'It looks like it is running with another user. In the DockerFile I try to assign 'USER root' but i get the same error.This is the Dockerfile repository:Regards.
users mailing list
users lists openshift redhat com
--Clayton Coleman | Lead Engineer, OpenShift