Skip to content

Instantly share code, notes, and snippets.

@davidread
Created February 20, 2018 15:01
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 davidread/8f4c2703136a78dc8b92ce22b50bb1dd to your computer and use it in GitHub Desktop.
Save davidread/8f4c2703136a78dc8b92ce22b50bb1dd to your computer and use it in GitHub Desktop.
Jupyter container start
#!/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