Skip to content

Instantly share code, notes, and snippets.

@zldrobit
Created January 25, 2019 02:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zldrobit/b3226da31785e3441b6bd9819cc4d7ca to your computer and use it in GitHub Desktop.
Save zldrobit/b3226da31785e3441b6bd9819cc4d7ca to your computer and use it in GitHub Desktop.
sudo docker run --rm -it -p 8888:8888 --name jupyterlab -e JUPYTER_ENABLE_LAB=yes -v "$PWD":/home/jovyan/work -e NB_UID=$(id -u) -e NB_GID=$(id -g) -e GRANT_SUDO=yes --user root zldrobit/jupyter:py27
# sudo docker run --rm -p 8888:8888 -it --name jupyter -e JUPYTER_ENABLE_LAB=yes -v "$PWD":/home/jovyan/work -e NB_UID=0 -e NB_GID=0 -e GRANT_SUDO=yes --user root zldrobit/jupyter:py27
sleep 3
sudo docker exec jupyter jupyter notebook list
# echo 'jupyter is running.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment