/jupyter-docker

jupyter lab container

Primary LanguageDockerfile

step by step

  1. build the Base

    cd Base
    docker build . -t "base-image"
  2. build the Stack

    cd Stack
    docker build . -t "stack-image"
  3. compose up the Jupyter

    cd Jupyter
    docker-compose -f "docker-compose.yml" up -d --build

note: in my case, I use the "namespace" to share the volume between host and container.

From jupyter/datascience-notebook

cd datasci
docker build . -t wangm/datasci-lab-base:v0.1
docker-compose -f "docker-compose.yml" up -d

note: in my case, I use the "namespace" to share the volume between host and container.

reference: https://github.com/stefanproell/jupyter-notebook-docker-compose