Created
February 20, 2018 15:01
-
-
Save davidread/8f4c2703136a78dc8b92ce22b50bb1dd to your computer and use it in GitHub Desktop.
Jupyter container start
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
#!/usr/bin/env bash | |
set -ex | |
# NB_USER=$USER | |
# NB_UID=$USER_UID | |
# USER_UID=1001 | |
# GROUP=staff | |
# # Add the $USER user | |
# useradd -g $GROUP -u $USER_UID -d /home/$USER $USER | |
# | |
# # Copy jovyan's files in the home without overwriting (-n) | |
# cp -nR /home/jovyan/ /home/$USER/ | |
# chown -R $USER /home/$USER | |
# Disable authentication, see: https://github.com/jupyter/docker-stacks/blob/master/datascience-notebook/README.md#notebook-options | |
start-notebook.sh --NotebookApp.token='' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment