From f79d457cbc7c69fb99e212451607fa5d48bcfc25 Mon Sep 17 00:00:00 2001 From: David Portabella Date: Fri, 27 Jan 2017 22:30:38 +0100 Subject: [PATCH] README.md: added link on how to create the custom password hashed --- all-spark-notebook/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all-spark-notebook/README.md b/all-spark-notebook/README.md index 6c68d2e3..49a515d3 100644 --- a/all-spark-notebook/README.md +++ b/all-spark-notebook/README.md @@ -210,7 +210,7 @@ Connection to Spark Cluster on Standalone Mode requires the following set of ste The Docker container executes a [`start-notebook.sh` script](../base-notebook/start-notebook.sh) script by default. The `start-notebook.sh` script handles the `NB_UID` and `GRANT_SUDO` features documented in the next section, and then executes the `jupyter notebook`. -You can pass [Jupyter command line options](https://jupyter.readthedocs.io/en/latest/projects/jupyter-command.html) through the `start-notebook.sh` script when launching the container. For example, to secure the Notebook server with a custom password hashed using `IPython.lib.passwd()` instead of the default token, run the following: +You can pass [Jupyter command line options](https://jupyter.readthedocs.io/en/latest/projects/jupyter-command.html) through the `start-notebook.sh` script when launching the container. For example, to secure the Notebook server with a custom password hashed ([how-to](http://jupyter-notebook.readthedocs.io/en/latest/public_server.html#preparing-a-hashed-password)) instead of the default token, run the following: ``` docker run -d -p 8888:8888 jupyter/all-spark-notebook start-notebook.sh --NotebookApp.password='sha1:74ba40f8a388:c913541b7ee99d15d5ed31d4226bf7838f83a50e'