This project can add various notebooks to your docker image.
Clone this project to your local host
git clone https://github.com/cwcidea/append-images.git
- NAME
./run_build.sh - Additional notebook image. - SYNOPSIS
./run_build.sh [REQIREDS]... [OPTIONS]... - REQIREDS
-i, --baseimage : The original image of the notebook needs to be added.
-t, --newtag : Original image name.
-a, --add : Which notebook modules(jupyter|vscode|rstudio) need to be added. - OPTIONS
-v, --osversion : OS(centos|ubuntu) within the original image
-o, --out : Save image. - USAGES
./run_build.sh [-i original_image_name] [-t image:tag] [-a module] - EXAMPLES
1) ./run_build.sh -i pytorch:1.10.0-centos7.6 -t jupyter:pytorch1.10.0-centos7.6 -a jupyter
2) ./run_build.sh -i pytorch:1.10.0-centos7.6 -t jupyter:pytorch1.10.0-centos7.6 -a jupyter -v centos
3) ./run_build.sh -i pytorch:1.10.0-centos7.6 -t jupyter:pytorch1.10.0-centos7.6 -a jupyter -o
4) ./run_build.sh -i pytorch:1.10.0-centos7.6 -t jupyter:pytorch1.10.0-centos7.6 -a jupyter -o tar
5) ./run_build.sh -i pytorch:1.10.0-centos7.6 -t jupyter:pytorch1.10.0-centos7.6 -a jupyter -o tgz
6) ./run_build.sh -i pytorch:1.10.0-centos7.6 -t jupyter:pytorch1.10.0-centos7.6 -a jupyter -o jupyterpytorch1.10.0-centos7.6.tar
7) ./run_build.sh -i /path/to/pytorch1.10.0-centos7.6.tar -t jupyter:pytorch1.10.0-centos7.6 -a jupyter