https://github.com/ktakita1011/my_kaggle_docker
kaggle docker can use GPU
worked on docker version 24.x.x higher
how to build and run
$ cd kaggle-template
$ docker compose up -d
acess here http://127.0.0.1:8888 default jupyter notebook password is "kaggle" if u want to change password, look run.sh
In Visual Code, using attach to a running container. https://code.visualstudio.com/docs/devcontainers/attach-container#_attach-to-a-docker-container
https://github.com/Kaggle/kaggle-api
以下の作業は、ホストPC上で行う
- KaggleAPIのインストール
$ pip install kaggle
- KaggleAPIトークンを書き込む
$ vim ~/.kaggle/kaggle.json
https://github.com/Kaggle/kaggle-api?tab=readme-ov-file#commands