Skip to content

Instantly share code, notes, and snippets.

@NickVeld
Created September 30, 2017 09:56
Show Gist options
  • Save NickVeld/58322b38e4dc865b5bf262e04b6801af to your computer and use it in GitHub Desktop.
Save NickVeld/58322b38e4dc865b5bf262e04b6801af to your computer and use it in GitHub Desktop.
nickveld/nlp_ru_notebook start script
# Connect with me if you want more packages.
docker run --rm -it --user root -w /home/jovyan/shared -v $(pwd):/home/jovyan/shared -p 8888:8888 --name nlpj nickveld/nlp_ru_notebook start-notebook.sh --NotebookApp.token=''
# --rm Automatically remove the container when it exits. If you can start container, remove it.
# -it Show stdout and stderr, and let write to stdin (in this case let send stop signal with Ctrl+C)
# --user root In Notebook Terminal you can do operations with root rights
# Instead of $(pwd) you can write a directory on your device
# -p port_of_your_device:8888 (8888 - is a default Jupyter Notebook port) Using -p option is as setting simple NAT configuration
# --name name_of_container
# start-notebook.sh --NotebookApp.token='' - disable auth, if you want to auth and can do it delete or transform start-notebook.sh --NotebookApp.token=''
# More on https://hub.docker.com/r/jupyter/base-notebook/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment