feat: jupyter notebook container starter

This commit is contained in:
2026-07-24 12:13:42 +02:00
parent 64f3e2e437
commit f254ff8527
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
name=$([[ $1 ]] && echo $1 || echo "jupyter")
mount=$([[ $2 ]] && echo $2 || echo "$HOME/projects/")
echo "
=> Mounting folder to /mnt (in container)
=> Starting container
"
docker run \
-v $mount:/home/jovyan/work \
--name $name \
-p 8888:8888 \
-w /mnt \
-e DOCKER_STACKS_JUPYTER_CMD=notebook \
quay.io/jupyter/base-notebook