From 953c30b9ac538e390ccb7f2bd9937bcc983c9e22 Mon Sep 17 00:00:00 2001 From: dr10_takehiro <22938548+Dr10-TakeHiro@users.noreply.github.com> Date: Sat, 7 Jan 2023 17:18:19 +0900 Subject: [PATCH] Update README about installation within Docker. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a499da5..98b0311 100755 --- a/README.md +++ b/README.md @@ -57,9 +57,17 @@ RUN fix-permissions $CONDA_DIR && \ # Set USER to the env variable jupyter uses for the default account ENV USER=$NB_USER +RUN pip install jupyterlab_scheduler RUN jupyter labextension install jupyterlab_scheduler ``` + +Note: You must manually start cron daemon, because it is not automatically started in Jupyter Docker images (Because, these imagas do not contain systemd.). Following command is an example to start cron from Docker's host: + +```bash +docker exec -it -u root service cron start +``` + **Running into this error?** ``` ERROR: Service 'jupyter' failed to build: The command '/bin/bash -o pipefail -c jupyter labextension install jupyterlab_scheduler' returned a non-zero code: 1