-
Notifications
You must be signed in to change notification settings - Fork 33
Kaggle's docker python setup
Pandarasamy Arjunan (Samy) edited this page Mar 9, 2020
·
1 revision
This wiki page will guide you on how to setup docker and use the kaggle/python image.
Follow these links to install the Docker desktop community editiorn on different platforms.
After the successful installation, we can verify the docker installation using the below command:
$ docker -v
Docker version 19.03.5, build 633a0ea
There are two docker images for python by Kaggle is available: CPU-only and GPU. While the CPU-only image is public, the GPU is still kept private. In this post, we will focus on using the CPU-only image.
Use the below command to pull the CPU-only image:
$ docker pull kaggle/python
This command will take several minutes to download and setup of kaggle/python image locally.
Next, we can start the Jupyter notebook within the installed kaggle/python
docker container using this command.
$ docker run -p 8888:8888 -v --rm -it kaggle/python jupyter notebook --ip='0.0.0.0' --port=8888 --no-browser --allow-root