Created
May 22, 2021 19:25
-
-
Save akshaykarnawat/2281dfd58f315143bd166bdc70be31dd to your computer and use it in GitHub Desktop.
run jupyter in local docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
mkdir notebooks | |
docker run --rm -it -p 8888:8888 -v /Users/akshaykarnawat/notebooks:/home/notebook python:3.8-slim-buster /bin/bash | |
pip install jupyter | |
cd /home/notebook | |
jupyter notebook . --ip 0.0.0.0 --no-browser --allow-root | |
# local on my host go to --> http://127.0.0.1:8888 and enter in the token |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment