简体   繁体   English

Google Cloud上的Jupyter Docker

[英]Jupyter Docker on Google Cloud

I would like to run a Jupyter notebook from a docker image on GCP. 我想从GCP上的docker映像运行Jupyter笔记本。 Specifically I would like to run the one from kaggle/python . 具体来说,我想从kaggle/python运行一个。 On my local machine I can get this working with docker pull kaggle/python and then the following docker cli command: 在我的本地计算机上,我可以使用docker pull kaggle/python然后使用以下docker pull kaggle/python cli命令来docker pull kaggle/python工作:

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. 我不想使用gcloud cli命令。 How do I map this command to the GUI in GCP? 如何将此命令映射到GCP中的GUI? I wan't to run this on Google Containerized OS: 我不想在Google Containerized OS上运行它:

在此处输入图片说明

You can now use docker containers to your custom notebook environment on GCP's AI Platform Notebooks. 现在,您可以在GCP的AI平台笔记本电脑上将docker容器用于自定义笔记本电脑环境。 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 您可以在这里找到有关它们的更多信息: https : //cloud.google.com/ml-engine/docs/using-containers

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM