Skip to content

Commit 0c446d2

Browse files
caisqAmit Patankar
authored and
Amit Patankar
committed
In non-devel Docker images, positively confirm --allow-root (tensorflow#9021)
to avoid an error that started to happen recently: [C 10:09:34.858 NotebookApp] Running as root is not recommended. Use --allow-root to bypass. E.g., see http://ci.tensorflow.org/view/Nightly/job/nightly-docker-cpu/TF_DOCKER_BUILD_IS_DEVEL=NO,TF_DOCKER_BUILD_PYTHON_VERSION=PYTHON2,label=gcs-access/361/console
1 parent 5774625 commit 0c446d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tensorflow/tools/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ EXPOSE 8888
6666

6767
WORKDIR "/notebooks"
6868

69-
CMD ["/run_jupyter.sh"]
69+
CMD ["/run_jupyter.sh", "--allow-root"]

tensorflow/tools/docker/Dockerfile.gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ EXPOSE 8888
6969

7070
WORKDIR "/notebooks"
7171

72-
CMD ["/run_jupyter.sh"]
72+
CMD ["/run_jupyter.sh", "--allow-root"]

0 commit comments

Comments
 (0)