Skip to content

Latest commit

 

History

History
58 lines (49 loc) · 2.6 KB

readme.md

File metadata and controls

58 lines (49 loc) · 2.6 KB

helper

The Data Science and Engineering Society


github organization our docker hub organization our slack our twitter quilt packages

Running a thedatasociety's repository locally

Install minimal packages:

sudo apt install python3-pip
sudo pip3 install jupyter-repo2docker

Clone the repository. Enter the folder. Within the repository folder, run:

# removing image if it exists
docker rmi ${PWD##*/}:latest -f
# building the image:
repo2docker  --no-run --image-name ${PWD##*/}  ./  jupyter lab 
# running the built image
docker run -it -p 8888:8888 -v $(echo ~):$(echo ~)/local-home ${PWD##*/} jupyter lab --ip 0.0.0.0 --NotebookApp.token=''  --no-browser

or

docker rmi ${PWD##*/}:latest -f && 
repo2docker  --no-run --image-name ${PWD##*/}  ./  jupyter lab  &&
docker run -it -p 8888:8888 -v $(echo ~):$(echo ~)/local-home ${PWD##*/} jupyter lab --ip 0.0.0.0 --NotebookApp.token=''  --no-browser

http://localhost:8888