jupyter-on-openshift / jupyter-notebooks

OpenShift compatible S2I builder for basic notebook images.
Apache License 2.0
54 stars 111 forks source link

code-server process running and failing in the background of the minimal image #27

Open vemonet opened 3 years ago

vemonet commented 3 years ago

Running Jupyter-on-openshift Notebooks minimal image:

docker run -it --rm -p 8080:8080 -e JUPYTER_NOTEBOOK_PASSWORD=password quay.io/jupyteronopenshift/s2i-minimal-notebook-py36:2.5.1

Once started, the Jupyter-on-openshift image calls a code-server serviceWorker.js script which fails with 404 status:

[W 11:09:39.287 NotebookApp] 404 GET /static/de41646fc402b968ca6d555fdf2da7de9554d28a/usr/lib/code-server/dist/serviceWorker.js (172.17.0.1) 4.97ms referer=None

Is it an expected behavior? Why is it failing if it is an expected behaviour?

Running Docker version 19.03.12, Docker API version 1.40 on Ubuntu 18.04

Screenshot from 2020-10-09 11-56-24

GrahamDumpleton commented 3 years ago

This project is effectively no longer maintained. Suggest you look at the official Jupyter Notebook images from the Jupyter Project.

If you need to run them in OpenShift specifically, see:

If you need something which is based on Red Hat base images, or supported by Red Hat in some way, then look at the Red Hat projects:

BlueCog commented 3 years ago

Hi @GrahamDumpleton,

If you say that this project is no longer maintained. You mean the jupyter-on-openshift project as a whole? So jupyter-notebooks 2.5.1 and jupyterhub-quickstart 3.4.0 will be the last versions?

I've looked into the links above but i'm not finding directly something a like as jupyter-on-openshift (so with the jupyter hub / db and flexibility via s2i). We got your code working on our OpenShift platform (based on RHEL images). And even made deployment easier via HELM. We will be very sad to see this repo going stale ;)

Ive alsof found this one: https://github.com/jupyterhub/zero-to-jupyterhub-k8s but when I'm looking into OpenShift it will forward me back to this (your) repo again ;). And Jupyter Docker Stacks is also noting you as an alternative.

Hope to hear from you, greets