Patch jupyter-server-proxy to connect 127.0.0.1 instead of localhost
There may be a discrepency between the interface vncserver listens on (127.0.0.1) and the interface jupyter-server-proxy connects to (localhost)
This commit is contained in:
parent
22ca5014a9
commit
859049ef99
|
@ -28,6 +28,10 @@ RUN /opt/conda/bin/pip install https://github.com/manics/jupyter-server-proxy/ar
|
||||||
RUN conda install -y -q -c manics/label/testing websockify
|
RUN conda install -y -q -c manics/label/testing websockify
|
||||||
ADD jupyter_notebook_config.py /home/jovyan/.jupyter/jupyter_notebook_config.py
|
ADD jupyter_notebook_config.py /home/jovyan/.jupyter/jupyter_notebook_config.py
|
||||||
|
|
||||||
|
# There may be a discrepency between the interface vncserver listens on
|
||||||
|
# (127.0.0.1) and the interface jupyter-server-proxy connects to (localhost)
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=895582
|
||||||
|
RUN sed -i.bak s/localhost/127.0.0.1/g /opt/conda/lib/python3.7/site-packages/jupyter_server_proxy/handlers.py
|
||||||
|
|
||||||
# Both these should work:
|
# Both these should work:
|
||||||
# http://localhost:5901/vnc.html
|
# http://localhost:5901/vnc.html
|
||||||
|
|
Loading…
Reference in New Issue