aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/docker
diff options
context:
space:
mode:
authorGravatar Austin Anderson <angerson@google.com>2018-09-21 11:22:12 -0700
committerGravatar Austin Anderson <angerson@google.com>2018-09-21 11:22:12 -0700
commit63f39c0cc2aeb6d375016de599863e91cdefd98c (patch)
treec40add1abf337972223dd0fcec44c3c3875fae43 /tensorflow/tools/docker
parentfb1335fd7b6bb753080bbfedec4d70aeacc4218a (diff)
Workaround a Notebook bug in in c.NotebookApp.ip
See https://github.com/jupyter/notebook/issues/3946. I found this by checking package version differences and hunting for recent issues on Notebook's github page.
Diffstat (limited to 'tensorflow/tools/docker')
-rw-r--r--tensorflow/tools/docker/jupyter_notebook_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tools/docker/jupyter_notebook_config.py b/tensorflow/tools/docker/jupyter_notebook_config.py
index 05dcefb099..4449e3501f 100644
--- a/tensorflow/tools/docker/jupyter_notebook_config.py
+++ b/tensorflow/tools/docker/jupyter_notebook_config.py
@@ -16,7 +16,7 @@ import os
from IPython.lib import passwd
c = c # pylint:disable=undefined-variable
-c.NotebookApp.ip = '*'
+c.NotebookApp.ip = '0.0.0.0' # https://github.com/jupyter/notebook/issues/3946
c.NotebookApp.port = int(os.getenv('PORT', 8888))
c.NotebookApp.open_browser = False