From d13ae380c365196389bcd4fbcc42f8ceb5f403e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Jastrz=C4=99bski?= Date: Tue, 6 Jun 2017 19:57:08 -0700 Subject: [PATCH] Fix CMD in Dockerfile (#10444) Currently Notebook fails execution because default user for this container is root, and unless explicitly allowed, jupyter notebook will not start. --- tensorflow/examples/udacity/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/examples/udacity/Dockerfile b/tensorflow/examples/udacity/Dockerfile index 9f5ef1aca3e..3d48ced41b2 100644 --- a/tensorflow/examples/udacity/Dockerfile +++ b/tensorflow/examples/udacity/Dockerfile @@ -12,4 +12,4 @@ RUN pip install scikit-learn pyreadline Pillow RUN rm -rf /notebooks/* ADD *.ipynb /notebooks/ WORKDIR /notebooks -CMD ["/run_jupyter.sh"] +CMD ["/run_jupyter.sh", "--allow-root"]