Pass --allow-root into jupyter notebook. (#1571)

This commit is contained in:
Robert Nishihara
2018-02-21 22:42:19 -08:00
committed by Philipp Moritz
parent 6a8661a014
commit a3b44309dd
+1
View File
@@ -653,6 +653,7 @@ def start_ui(redis_address, stdout_file=None, stderr_file=None, cleanup=True):
# querying the jupyter server.
token = binascii.hexlify(os.urandom(24)).decode("ascii")
command = ["jupyter", "notebook", "--no-browser",
"--allow-root",
"--port={}".format(port),
"--NotebookApp.iopub_data_rate_limit=10000000000",
"--NotebookApp.open_browser=False",