Last active
January 5, 2021 14:01
-
-
Save yeongseon/30c79a98b84e17db859f27aaff621580 to your computer and use it in GitHub Desktop.
docker-compose.yml for kaggle/python-gpu-build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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='' | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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