Skip to content

Commit 672be93

Browse files
committed
add --allow-root args #10
The jupyter default no allow run the `jupyter-notebook` by root, so we need add the `--allow-root`. > http://jupyter-notebook.readthedocs.io/en/latest/changelog.html
1 parent 0201cbb commit 672be93

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

alpine/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#
1313
# ===========================================================
1414

15-
jupyter-notebook --ip 0.0.0.0 --no-browser --notebook-dir=/home
15+
jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root --notebook-dir=/home

archlinux/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#
1313
# ===========================================================
1414

15-
jupyter-notebook --ip 0.0.0.0 --no-browser --notebook-dir=/home
15+
jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root --notebook-dir=/home

centos-7/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#
1313
# ===========================================================
1414

15-
jupyter-notebook --ip 0.0.0.0 --no-browser --notebook-dir=/home
15+
jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root --notebook-dir=/home

debian-7/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#
1313
# ===========================================================
1414

15-
jupyter-notebook --ip 0.0.0.0 --no-browser --notebook-dir=/home
15+
jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root --notebook-dir=/home

debian-8/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#
1313
# ===========================================================
1414

15-
jupyter-notebook --ip 0.0.0.0 --no-browser --notebook-dir=/home
15+
jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root --notebook-dir=/home

gentoo/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#
1313
# ===========================================================
1414

15-
jupyter-notebook --ip 0.0.0.0 --no-browser --notebook-dir=/home
15+
jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root --notebook-dir=/home

opensuse-42.1/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#
1313
# ===========================================================
1414

15-
jupyter-notebook --ip 0.0.0.0 --no-browser --notebook-dir=/home
15+
jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root --notebook-dir=/home

ubuntu-14.04/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#
1313
# ===========================================================
1414

15-
jupyter-notebook --ip 0.0.0.0 --no-browser --notebook-dir=/home
15+
jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root --notebook-dir=/home

ubuntu-16.04/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
#
1313
# ===========================================================
1414

15-
jupyter-notebook --ip 0.0.0.0 --no-browser --notebook-dir=/home
15+
jupyter-notebook --ip 0.0.0.0 --no-browser --allow-root --notebook-dir=/home

0 commit comments

Comments
 (0)