From 7691077fdc558b192d3d65ab4c3d5abbed27813d Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Sun, 2 Apr 2023 11:38:41 +0900 Subject: [PATCH] reflect changes rocker-org/rocker-versioned2#628 (#91) ...and Including markdownlint config update --- .markdownlint.yml | 3 +++ images/versioned/binder.md | 12 +++--------- 2 files changed, 6 insertions(+), 9 deletions(-) create mode 100644 .markdownlint.yml diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..fa8cb83 --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,3 @@ +default: true + +MD045: false # For compatibility with Quarto syntax diff --git a/images/versioned/binder.md b/images/versioned/binder.md index 62e3501..93e0f21 100644 --- a/images/versioned/binder.md +++ b/images/versioned/binder.md @@ -43,20 +43,14 @@ This document is for R 4.0.0 >= images. ### Use outside of Binder If you use this image with Docker, -the default command runs [Jupyter Notebook](https://jupyter-notebook.readthedocs.io/en/latest/). -Since the Jupyter Notebook port is set to `8888`, -you can open the Jupyter Notebook screen on `localhost:8888` from your browser with the following command. +the default command runs [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/). +Since the JupyterLab port is set to `8888`, +you can open the JupyterLab screen on `localhost:8888` from your browser with the following command. ```sh docker run --rm -ti -p 8888:8888 rocker/binder ``` -Or, start [JupyterLab](https://github.com/jupyterlab/jupyterlab) instead of Jupyter Notebook like this. - -```sh -docker run --rm -ti -p 8888:8888 rocker/binder sh -c "jupyter lab --ip 0.0.0.0 --no-browser" -``` - You can log in by entering the token displayed in the terminal as your password. If you want to set your own password for Jupyter, you can set it as a environment variable `JUPYTER_TOKEN`[^jupyter].