iruby-docker is a community maintained Jupyter Docker Stack image with iruby installed. This image is built based on the Jupyter Docker Stacks's cookiecutter, the image is available on Docker Hub.
- jupyterlab-vim is installed.
$ docker run -it --name iruby-notebook --rm -p 8888:8888 -v `pwd`:/home/jovyan/work shihanng/iruby-docker:latest
...
    To access the notebook, open this file in a browser:
        file:///home/jovyan/.local/share/jupyter/runtime/nbserver-17-open.html
    Or copy and paste one of these URLs:
        http://(xxxxxxxxxxxx or 127.0.0.1):8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Based on the URL above, visit http://127.0.0.1:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
This command will mount the current working directory (pwd)
to the /home/jovyan/work directory in Docker container
and all files can be found in the work directory in the browser as shown:
Use JUPYTER_ENABLE_LAB environment variable to enable JupyterLab.
$ docker run -it --name iruby-notebook --rm -p 8888:8888  -e JUPYTER_ENABLE_LAB=yes -v `pwd`:/home/jovyan/work shihanng/iruby-docker:latest

