I am trying to run a stateless Jupyter notebook using the docker image. How can I pass in new password text when I create a new notebook?
So far I couldn’t figure how to pass in my password text in the docker run, but to generate the password hash prior to the run.
$ HASH=$(docker run -it jupyter/minimal-notebook python -c "from notebook import auth; print(auth.passwd('${JupyterPassword}')))"
$ docker run -it -d -p 8080:8888 -e GEN_CERT=yes jupyter/minimal-notebook start-notebook.sh --NotebookApp.password=${HASH}
Is there anyway I can pass in ${JupyterPassword} directly without having to generate the hash?