Added jupyter via Docker

This commit is contained in:
Marcin Woźniak 2021-10-17 21:05:09 +02:00
parent 119ae5fc3d
commit 400e17dce9
Signed by: y0rune
GPG Key ID: F204C385F57EB348

10
.local/bin/jupyter Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
docker stop "$(docker ps --all | grep -i jupyter | awk '{print $1}')" > /dev/null
docker rm "$(docker ps --all | grep -i jupyter| awk '{print $1}')" > /dev/null
docker pull jupyter/scipy-notebook:latest
docker run \
--rm \
-p 8888:8888 \
-e JUPYTER_ENABLE_LAB=yes \
-v "$HOME/Documents/Collage/Semestr2/MG":/home/jovyan/ \
jupyter/scipy-notebook