From 73debbc0f17a62e49eb8d6d96c5d4cbbef18cc9f Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 28 Feb 2023 14:27:19 +0400 Subject: [PATCH] Remove unrelevant information about healthcheck --- docs/using/common.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/using/common.md b/docs/using/common.md index 1593260f..facbbf15 100644 --- a/docs/using/common.md +++ b/docs/using/common.md @@ -22,16 +22,10 @@ You can pass [Jupyter server options](https://jupyter-server.readthedocs.io/en/l 2. To set the [base URL](https://jupyter-server.readthedocs.io/en/latest/operators/public-server.html#running-the-notebook-with-a-customized-url-prefix) of the notebook server, you can run the following: ```bash - docker run -it --rm -p 8888:8888 --no-healthcheck jupyter/base-notebook \ + docker run -it --rm -p 8888:8888 jupyter/base-notebook \ start-notebook.sh --NotebookApp.base_url=/customized/url/prefix/ ``` - Note: We pass the `--no-healthcheck` parameter when setting a custom `base_url` for the Jupyter server - because our current implementation for doing healthcheck assumes the `base_url` to be `/` (the default). - Without using this parameter, the container may run, but its state will be "unhealthy". - Alternatively, you can [use your own command for healthcheck](https://docs.docker.com/engine/reference/run/#healthcheck) - using the `--health-cmd` parameter. - ## Docker Options You may instruct the `start-notebook.sh` script to customize the container environment before launching the notebook server.