-
Notifications
You must be signed in to change notification settings - Fork 18
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
docker image for kubernetes jupyterhub #569
Comments
I built the image with docker-compose. The problem is how the image is run, which we don't know. I believe that with a lengthy docker terminal command one can achieve the same result as with I can make such that the directory where we clone the notebooks are |
some information on the set-up.
|
Suggestion was to use nbgitpuller, as suggested by the JupyterHub doc to get and sync the notebooks. NBgitpuller syncs from github using the following strategy: https://jupyterhub.github.io/nbgitpuller/topic/automatic-merging.html. Given our problems with notebooks and conflicts, even with nbstripout, I'm not sure if this will work. @paskino, we will have to be careful with this. An alternative is to just copy |
I tried plotting and it worked |
A possible solution to the Another option is to install in |
you can set env variables for conda environments, see here. However, I'm not sure if kubespawner actually activates the env. (I guess so, as you can run
It uses |
I believe SIRF compiles python packages with swig and installs them in the python module directory so they are found. CIL instead doesn't do that and our (little) C++ library needs to be found. |
This confuses me a bit.
I think far preferable would be to add a file |
what about the radical solution to install in |
OK, it seems like this https://github.com/paskino/SIRF-SuperBuild/releases/tag/jupyterhub_v0.0.0 is the first jupyterhub config that works. We'll build on that. |
This is currently still in the above fork. We will merge this for the next version. |
We're trying to get an image ready to launch on jupyterhub with kubernetes. Current attempt is on https://github.com/paskino/SIRF-SuperBuild/tree/add_jovyan_user/docker
This does not use
docker-compose
, so our.yml
files are not used.Difficulties
sirf_env.sh
is not sourced/home/jovyan
gadgetron
is not started (but we can tell the user to do that, as they need to do it on the VM anyway)/opt
(read-only) - see related discussion in docker images and permissions problems for /devel #464, docker: slow startup of container the very first time #555 and docker: no longer chown /opt #558 although they concentrate on usingdocker-dompose
- causing problems (solvable by doingsudo chown -R jovyan:users /opt/SIRF-Exercises/
)currently starting JupyterLab, where'd prefer to use the classic interface (can be done by adding(This is a jupyterlab (system-wide!) setting, not under our controltree
at the URL)cannot plot anything(This disappears when launching classic jupyter)The text was updated successfully, but these errors were encountered: