This Docker image is a customized version of the e2x Data Science Notebook image, with additional SQL libraries installed.
The following build arg is available:
IMAGE_SOURCE
: The base image to use for the build. Defaults toghcr.io/digiklausur/docker-stacks/datascience-notebook:latest
.
This image is designed to provide a Jupyter Notebook environment for SQL tasks, building on top of the e2x Data Science Notebook image. It includes:
- All features from the e2x Data Science Notebook image
- Jupyter SQL kernels / magics, including xeus-sql and ipython-sql
This images comes as a basic SQL image or with e2xgrader
installed and a specific mode activated.
For more information look at the E2xGrader Notebook image and the e2xgrader package.
sql-notebook
- Base SQL image
sql-notebook-teacher
- Base SQL image with
e2xgrader
teacher mode activated (includes grading tools)
- Base SQL image with
sql-notebook-student
- Base SQL image with
e2xgrader
student mode activated (includes extensions for students)
- Base SQL image with
sql-notebook-exam
- Base SQL image with
e2xgrader
student_exam mode activated (provides a restricted notebook for students in an exam)
- Base SQL image with
To pull and run the image use:
docker run -p 8888:8888 ghcr.io/digiklausur/docker-stacks/sql-notebook:latest
Available tags are latest
and dev
. Available registries are quay.io
and ghcr.io
.
To build the image from the standard source, run:
docker build -t sql-notebook:dev .
To build the image from a custom source, run:
docker build -t sql-notebook:dev . --build-arg="IMAGE_SOURCE=<your_base_image>:<your_tag>"
To run the image, use:
docker run -p 8888:8888 sql-notebook:dev