Sign inSign up

b1iz4rclavid/rpi-jupyterlab_37

By b1iz4rclavid

•Updated about 7 years ago

jupyterlab with python 3.7 on Raspberry Pi 3

Image
1

10K+

b1iz4rclavid/rpi-jupyterlab_37 repository overview

⁠rpi-jupyterlab_37

A Docker image for jupyterlab on RPI, with balenalib/raspberrypi3-python:3.7.3-buster as the base image. Preloaded with some data science library

⁠Getting Started

⁠Run in detached mode
docker pull b1iz4rclavid/rpi-jupyterlab_37
docker run -d -p <docker_host_port>:8888 b1iz4rclavid/rpi-jupyterlab_37
⁠Access the notebook with

http://<docker_host_ip>:<docker_host_port>

⁠Bash access to the running container
docker exec -it <container id> /bin/bash

⁠Configuration

⁠Override default configurations with env variables:
  • PASSWORD sha1:8be0a8af2aa8:f631a6e0a66701463140d9c584de66d1a2ffa669 #sha1 hashed password, default is b1iz4rclavid/rpi-jupyterlab_37
  • ARGS #extra args provided to jupyter
⁠Run with custom configurations
docker run -it -p <docker_host_port>:8888 -e PASSWORD=sha1:xxxxxx -v <host_notebooks_path>:/jupyter/notebooks b1iz4rclavid/rpi-jupyterlab_37
⁠Example to expose docker host port 8388 with password 'test123', notebooks directory at ~/notebooks
docker run -it -p 8388:8888 -e PASSWORD=sha1:c316741091a4:cbea49552d8b0f03190d7b92adc4bd82ac367664 -e ARGS="--NotebookApp.certfile=XXXXX" -v ~/notebooks:/jupyter/notebooks b1iz4rclavid/rpi-jupyterlab_37
⁠Prerequisites

You will need to have docker installed on your rpi. Please refer to https://www.raspberrypi.org/blog/docker-comes-to-raspberry-pi/⁠

curl -sSL https://get.docker.com | sh

Tag summary

Content type

Image

Digest

Size

341.9 MB

Last updated

about 7 years ago

docker pull b1iz4rclavid/rpi-jupyterlab_37