Singularity

If you don’t have admin access to your local computer, or you simply prefer it, you can use Singularity instead; this is also known as Apptainer. You still need admin access to install Singularity, or a willing sysadmin to do it for you.1

To download the container and convert it to Singularity’s .sif format:

singularity pull docker://wgseligman/jupyter-pyroot

After some processing, you’ll have the image file jupyter-pyroot_latest.sif. Then you can run Singularity on that container:

singularity run --bind=$PWD:/work jupyter-pyroot_latest.sif

Note that while you can change the mapping of the /work directory within the container (see the Docker instructions above), you can’t change Jupyter’s binding to port 8080. This might be a problem if you’re running on a shared computer system and more than one user wants to run this container at the same time.

xkcd singularity

Figure 69: https://xkcd.com/1668/ by Randall Munroe


1

Singularity/Apptainer is already installed on all the systems in the Nevis particle-physics Linux cluster.