Skip to content

reslp/jupyterhub-singularity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

jupyterhub-singularity

Important

Students need to be connected via the Cisco VPN application to be able to access the instance running on the cluster in the browser. Being in eduroam is not enough

Set up a Jupyterhub instance with singularity

This allows to create a Jupyter hub server which also has custom authetication and is running in singularity.

It generally makes sense to run this in screen or tmux.

  1. Reserve a node:
srun -c 32 --mem 128G --tmp 100G --pty bash 

Once this is running:

  1. Clone this repository:
git clone https://github.com/reslp/jupyterhub-singularity.git
  1. Get IP address of node:
ip addr
  1. Run Jupyter Hub:
singularity exec -B $(pwd) -B $(pwd)/homes:/data/homes docker://reslp/jupyter-hub:5.2.1 jupyterhub
# with R and some additional packages installed:
singularity exec -B $(pwd) -B $(pwd)/homes:/data/homes docker://reslp/jupyter-hub:5.2.1-rkernel jupyterhub

This commands need to be run inside the folder with the homes directory and the jupyterhub_config.py file.

It is now possible to access the server through the IP address and port 8000 from above in a browser.

The dockerfile for this jupyterhub server can be found here: https://github.com/reslp/dockerfiles

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages