Setup of lab2learn
Setup of lab2learn
Lab environment for Jupyter applications.
Table of contents
Running these labs
Examples and exercises in this lab are presented as Jupyter Notebooks. Get started with this lab simply by cloning this repository within your own Jupyter environment or by launching an environment in the cloud services listed below.
Launching via Cloud Services
Via MyBinder.org (instance of the project jupyterhub/binderhub)
Via Google Colaboratory
Launching Locally via Docker
You may also launch this lab on your own environment using Docker, either using our own image or building one with repo2docker. Instructions on how to install Docker can be found here
DockerHub Image
Launch our own Docker image with the command:
docker run -it -p 8888:8888 santanche/lab2learn
Alternatively, you can map you local home folder into the container:
docker run -it -v ~:/home/jovyan -p 8888:8888 santanche/lab2learn
Access the Jupyter/Jupyter Lab at http://0.0.0.0:8888.
The Dockerfile used to build the image can be found here.
Using repo2docker
You can run a containerized instance of Jupyter/Jupyter Lab via the repo2docker tool. Repo2docker will clone this repository, build a docker image with all internal requirements, and launch a Jupyter/JupyterLab instance. Try:
repo2docker -p 8888:8888 https://github.com/santanche/lab2learn jupyter-lab --ip 0.0.0.0 --NotebookApp.token=''
Alternatively, you can map you local home folder into the container:
repo2docker -p 8888:8888 -v ~:`pwd` https://github.com/santanche/lab2learn jupyter-lab --ip 0.0.0.0 --NotebookApp.token=''
Access the Jupyter Lab server by going to http://0.0.0.0:8888/lab.