A cookiecutter template to create Docker environment for ML/DL tasks.
The resulting environment enables users to:
- install Python libraries via
pip
- use
docker-compose
to allow running multiple containers in one go - use
JupyterLab
andTensorBoard
from their local web browser - use
Commuter
to browse notebooks
author_name
: your nameproject_name
: your project nameproject_description
: description of your project (this will be inserted toREADME.md
)use_nvidia_docker
: whether to usenvidia-docker
or notformatter_type
: Python formatterjupyter_port
: a port to access JupyterLab running on a containertensorboard_port
: a port to access TensorBoard running on a containercommuter_port
: a port to access commuter running on a container
Run following commands:
$ cookiecutter https://github.com/kazuhirokomoda/cookiecutter-docker-jupyterlab
# cd to generated project dir
$ docker-compose build # (or docker-compose build --no-cache)
$ docker-compose up -d
Access following URLs from web browser:
- (JupyterLab) http://localhost:<jupyter_port>
- (TensorBoard) http://localhost:<tensorboard_port>
- (commuter) http://localhost:<commuter_port>