-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Base image with python version equal or greater than 3.7 #25
Comments
Use the Jupyter Project images: |
I tried the tutorial using the official images from jupyter project, but that did not work. The notebook container did not go up, complaining that some shelI script is not present. I then ran containers from both images, s2i-minimal-notebook-py36 and jupyter/minimal-notebook and took a peek inside them. It saw that indeed, the jupyter folder is very different comparing s2i-minimal-notebook-py36 and jupyter/minimal-notebook. A lot of files missing from jupyter/minimal-notebook that breaks the deployment. |
You are not providing sufficient information about what you are trying to do. If you are trying to use the Jupyter project images as an S2I builder with the mechanism described with this repository, you can't. For using S2I with Jupyter project images see: Also see: for general details of standalone deployment of Jupyter project images on OpenShift. The link I provided above previously is specifically related to using the Jupyter project images with JupyterHub on OpenShift. I provided that since had to guess what it is you are trying to do due to the lack of details provided. |
I am trying to follow the tutorial in https://github.com/jupyter-on-openshift/jupyterhub-quickstart , more specifically using the Multi User Developer Workspace template. I do get successful using the s2i-minimal-notebook-py36 as a base image for the notebooks. But I want to use a python 3.8 base image, so I tried https://github.com/jupyter-on-openshift/jupyterhub-quickstart#using-the-jupyter-project-notebook-images, using the jupyter/minimal-notebook image with python 3,.8. However, even following the instructions:
it wont work, since there are a lot of files missing from jupyter/minimal-notebook that breaks the deployment. |
As I already said, you need to properly explain "it wont work". I can't guess what the problem is. You need to explain properly what you added to your configuration and what errors you are getting and where. |
The event log when the hub tries to start a server with the image jupyter/minimal-notebook (https://hub.docker.com/r/jupyter/minimal-notebook) :
As I said, the file structure of images jupyter/minimal-notebook and s2i-minimal-notebook-py36 are very different, as jupyter/minimal-notebook uses conda. Running a container with s2i-minimal-notebook-py36 image:
Running a container with jupyter/minimal-notebook image:
|
You can't use the latter recipe for persistent storage in:
with the Jupyter project images. That is, the one relying on For Jupyter project images, you also need to change the first recipe to:
That is, different mount point for persistent volume. |
Thank you Graham, I will give it a try and come back as soon as I have a result. |
I still got the same error. I seems the KubeSpawner always tries to execute the "setup-volume.sh" command, even when I explicitly declare "c.KubeSpawner.cmd" in the jupyterhub_config,py file. |
It isn't As I said above, don't use the second recipe which invokes |
From now, the last version of the minimal notebook is based on python 3.6, s2i-minimal-notebook-py36
How about a s2i-minimal-notebook-py37, s2i-minimal-notebook-py38, etc?
I tried to search the s2i-minimal-notebook-py36 Dockerfile for building my own container with python 3.8, but couldn't find it. Any clues here?
The text was updated successfully, but these errors were encountered: