Skip to content

Commit

Permalink
Merge pull request #28 from Dr10-TakeHiro/patch-1
Browse files Browse the repository at this point in the history
Update README about installation within Docker.
  • Loading branch information
jovanni-hernandez authored Jan 16, 2023
2 parents 2bf6173 + 953c30b commit eddae88
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <container_id> 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
Expand Down

0 comments on commit eddae88

Please sign in to comment.