-
build the Base
cd Base docker build . -t "base-image"
-
build the Stack
cd Stack docker build . -t "stack-image"
-
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.
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