The dev
branch will always reflect digiklausur/{image_name}-dev:tag
on the docker hub, and the master
branch reflects digiklausur/{image_name}:tag
. The default image tag is latest
, and images from github tags are also built by using the github tag as the image tag. Additionally, the image used in a particular semester can be pulled using tag i.e. ws20
for winter semester 2020.
minimal-notebook
is based on jupyter/minimal-notebooknotebook
image is used for teaching environmentexam-notebook
is used for examination environment
docker run -it --name notebook --rm -p 8888:8888 ghcr.io/digiklausur/docker-stacks/notebook:latest
-
Attach host host directory to the container
docker run -it --name notebook -v /home/myhome:/home/jovyan/myhome --rm -p 8888:8888 ghcr.io/digiklausur/docker-stacks/notebook:latest
-
Run the container in the background
docker run -it --name notebook -v /home/myhome:/home/jovyan/myhome --rm -d -p 8888:8888 ghcr.io/digiklausur/docker-stacks/notebook:latest
-
Open browser and go to localhost:8888
-
Enter the notebook token if asked
If you run docker in the background, you can get the log and the notebook token by
docker logs --follow notebook
For more detailed information on how to run the image in your local pc, as well as to mount you local disks to the container, please visit this page.