Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.8 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.8 KB

Build Status

E2x Docker Stacks

Branches

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.

Single user images

  • minimal-notebook is based on jupyter/minimal-notebook
  • notebook image is used for teaching environment
  • exam-notebook is used for examination environment

Run the image locally

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.