Setup JupyterLab

Setting up Invariant JupyterLab

We provide a ready-to-run Docker image that contains Jupyter applications with additional computing libraries for modeling and visualization:

$ docker pull invariantio/invariant-jupyterlab:1.4.1

This will pull the docker image to the local workstation.

Once the image is available locally, you can run start the Jupyterlab instance:

run.sh
# Modify as necessary to mount volumes etc
docker run -it --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes \
   -v /opt/invariant/notebook:/home/jovyan/work            \
   invariantio/invariant-jupyterlab:1.4.1

The above command will pul the images if it is not already present on the local host. Next it will start a container running a JupyterLab Notebook server and exposes the server on host port 8888. The command mounts the /opt/invariant/notebookdirectory on the host as /home/jovyan/work in the container. The server logs appear in the terminal.

Navigate tohttp://<hostname>:8888/lab?token=<token> in a browser loads JupyterLab. Replace hostname with the name of the computer running docker and token with the secret token printed in the console.

Supported Versions

The following version of Jupyter are currently supported

  • 1.4.1

Supported browsers

The latest versions of the following browsers are currently supported:

  • Firefox

  • Chrome

  • Safari

Last updated