docker build . -t openvino_notebooks
The command below starts the jupyterlab with default parameters on port 8888
docker run -d -p 8888:8888 openvino_notebooks
You can also add extra parameters and mount storage as needed. For example:
docker run -it -v $(pwd):/workspace -u $(id -u) -p 8080:8080 -e NOTEBOOK_PORT=8080 -e NOTEBOOK_ROOT_DIR="/workspace" -e NOTEBOOK_ARGS="--NotebookApp.token=''" openvino_notebooks
docker run -it --entrypoint /tmp/scripts/test -v ${PWD}:/opt/app-root/openvino_notebooks openvino_notebooks
docker run -v $(pwd)/.docker/Pipfile:/opt/app-root/bin/Pipfile --entrypoint bash openvino_notebooks:latest -c 'cd ../bin ; pip install -qq pipenv ; pipenv install >/dev/null 2>&1 ; cat Pipfile.lock' > .docker/Pipfile.lock