Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker-compose.yml for kaggle/python-gpu-build
version: '2.3'
services:
kaggle:
image: kaggle/python-gpu-build
runtime: nvidia
container_name: kaggle
user: root
ports:
- "8888:8888"
volumes:
- ..:/notebooks
command: >
bash -c "
export LD_LIBRARY_PATH=/usr/local/cuda/lib64 &&
pip install tornado==4.5.3 &&
pip install jupyter_contrib_nbextensions &&
pip install jupyter_nbextensions_configurator &&
jupyter contrib nbextension install --user &&
jupyter nbextension enable toc2/main --user &&
jupyter notebook --notebook-dir=/notebooks --ip='*' --port=8888 --no-browser --allow-root --NotebookApp.token=''
"
@yeongseon

This comment has been minimized.

@yeongseon

This comment has been minimized.

Copy link
Owner Author

@yeongseon yeongseon commented Apr 12, 2020

jupyterlab gpu dashboard

curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
bash nodesource_setup.sh

sudo apt-get install -y nodejs
pip install --upgrade jupyterlab

pip install jupyterlab-nvdashboard
jupyter labextension install jupyterlab-nvdashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment