From c0a898532060bfb5200ef9b89152eae63584df0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gilles?= <sebastien.gilles@inria.fr> Date: Sat, 17 Sep 2022 12:10:02 +0200 Subject: [PATCH] #35 Heed the Jupyter warning and replace NoteApp by ServerApp in command line. --- docker/Dockerfile.xeus-cling | 2 +- docker/Dockerfile.xeus-cling_with_compilers | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.xeus-cling b/docker/Dockerfile.xeus-cling index a928000..5759f97 100644 --- a/docker/Dockerfile.xeus-cling +++ b/docker/Dockerfile.xeus-cling @@ -19,4 +19,4 @@ SHELL ["/bin/bash", "-c"] # The code to run when container is started: # Using informations from https://hub.docker.com/r/continuumio/miniconda3 and options used by Vicente in former Docker file based on Ubuntu. -ENTRYPOINT [ "conda", "run", "--no-capture-output", "-n", "gettingstartedwithmoderncpp", "jupyter", "lab", "--port=8888", "--ip=0.0.0.0", "--no-browser","--allow-root","--NotebookApp.token=''"] +ENTRYPOINT [ "conda", "run", "--no-capture-output", "-n", "gettingstartedwithmoderncpp", "jupyter", "lab", "--port=8888", "--ip=0.0.0.0", "--no-browser","--allow-root","--ServerApp.token=''"] diff --git a/docker/Dockerfile.xeus-cling_with_compilers b/docker/Dockerfile.xeus-cling_with_compilers index 14729b7..2d8acdc 100644 --- a/docker/Dockerfile.xeus-cling_with_compilers +++ b/docker/Dockerfile.xeus-cling_with_compilers @@ -49,4 +49,4 @@ SHELL ["/bin/bash", "-c"] RUN echo "alias python=\"python3\"" >> ~/.bashrc RUN echo "conda activate gettingstartedwithmoderncpp" >> ~/.bashrc RUN source ~/.bashrc -CMD ["/home/formation/miniconda3/bin/conda", "run", "--no-capture-output", "-n", "gettingstartedwithmoderncpp", "jupyter", "lab", "--port=8888", "--no-browser", "--ip=0.0.0.0", "--allow-root","--NotebookApp.token=''"] +CMD ["/home/formation/miniconda3/bin/conda", "run", "--no-capture-output", "-n", "gettingstartedwithmoderncpp", "jupyter", "lab", "--port=8888", "--no-browser", "--ip=0.0.0.0", "--allow-root", "--ServerApp.token=''"] -- GitLab