myhome/.local/bin/jupyter

11 lines
363 B
Plaintext
Raw Normal View History

2021-10-17 21:05:09 +02:00
#!/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