Jupyter Docker on Google Cloud

1.1k views Asked by At

I would like to run a Jupyter notebook from a docker image on GCP. Specifically I would like to run the one from kaggle/python. On my local machine I can get this working with docker pull kaggle/python and then the following docker cli command:

docker run -v $PWD:/tmp/working -w=/tmp/working -p 8888:8888 --rm -it kaggle/python jupyter notebook --no-browser --ip="0.0.0.0" --notebook-dir=/tmp/working/src

I do not want to use a gcloud cli command. How do I map this command to the GUI in GCP? I wan't to run this on Google Containerized OS:

enter image description here

1

There are 1 answers

0
Zain Rizvi On BEST ANSWER

You can now use docker containers to your custom notebook environment on GCP's AI Platform Notebooks. That might serve your means

They offer a base container that you can modify to fit your needs and then use as your active notebook environment

You can find more info about them here: https://cloud.google.com/ml-engine/docs/using-containers