Skip to content

Commit 13bae4f

Browse files
committed
Add usage
1 parent 8047af1 commit 13bae4f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,17 @@ iruby-docker is a community maintained Jupyter Docker Stack image
99
with [iruby](https://github.com/SciRuby/iruby) installed.
1010
This image is built based on the [Jupyter Docker Stacks's cookiecutter](https://jupyter-docker-stacks.readthedocs.io/en/latest/contributing/stacks.html),
1111
the image is available on [Docker Hub](https://hub.docker.com/r/shihanng/iruby-docker).
12+
13+
## Usage
14+
15+
```
16+
$ docker run -it --name iruby-notebook --rm -p 8888:8888 -v `pwd`:/home/jovyan/work shihanng/iruby-docker:latest
17+
...
18+
19+
To access the notebook, open this file in a browser:
20+
file:///home/jovyan/.local/share/jupyter/runtime/nbserver-17-open.html
21+
Or copy and paste one of these URLs:
22+
http://(xxxxxxxxxxxx or 127.0.0.1):8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
23+
```
24+
25+
Based on the URL above, visit `http://127.0.0.1:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`.

0 commit comments

Comments
 (0)