Skip to content

alexmill/dockerized_jupyter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal, Local, Containerized Jupyter Lab with Docker

Getting Started

  1. Install Docker for your system.
  2. Install git and clone this repo.
  3. Navigate into the repo and "Build" the container for this project. This downloads all the pre-requisite software to run this container.
cd ./dockerized_jupyter 
docker build -t jupyter_lab_docker .
  1. Get the $IMAGE_ID of the Docker image you just created:
IMAGE_ID=$(docker image ls | grep jupyter_lab_docker | awk '{print $3}')
  1. "Run" the generated Docker image and launch Jupyter with the following command:
docker run \
  --volume $(pwd):/home/jovyan \
  --publish 8888:8888 \
  --env JUPYTER_ENABLE_LAB="yes" \
  $IMAGE_ID

More info

Python dependencies can be updated in the requirements.txt file locally. After making any changes to requirements.txt (or Dockerfile), re-build the image: docker build -t jupyter_lab_docker ..

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published