feat: jupyter notebook container starter
This commit is contained in:
Executable
+17
@@ -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
|
||||
Reference in New Issue
Block a user