Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
...and Including markdownlint config update
  • Loading branch information
eitsupi authored Apr 2, 2023
1 parent 4a29450 commit 7691077
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
default: true

MD045: false # For compatibility with Quarto syntax
12 changes: 3 additions & 9 deletions images/versioned/binder.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down

0 comments on commit 7691077

Please sign in to comment.