Hello I'm trying to install jupyterhub with Dockerfile in Openshift 3.
The Dockerfile works fine in Docker, but no in Openshift
The build finish correctly but the pod is running but give me this error:
# oc logs jupyter-1-z1l0h
Traceback (most recent call last):
File "/usr/local/bin/jupyterhub", line 3, in <module>
from jupyterhub.app import main
File "/usr/local/lib/python3.4/dist-packages/jupyterhub/app.py", line 93, in <
File "/usr/local/lib/python3.4/dist-packages/jupyterhub/app.py", line 108, in
name = Unicode(getuser())
File "/usr/lib/python3.4/getpass.py", line 164, in getuser
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: