Cannot seem to install Google Cloud Managed VMs

本小妞迷上赌 提交于 2019-12-10 10:28:10

问题


Following Google instructions to install managed VMs, everything seems to work smoothly until I get to this step:

 gcloud preview app setup-managed-vms

The result is the following error:

ERROR: (gcloud.preview.app) Invalid choice: 'setup-managed-vms'.

I've made sure all the other dependent components are up to date. The environment is:

  • Windows 7 x64
  • Google Cloud SDK 0.9.56
  • boot2docker 1.4.1/1.5 (tried both)

Is there anything obvious I'm missing trying to get these managed VMs working?


回答1:


Yep - that step is no longer required. The docs should be fixed shortly. You might wish to look at My java App Engine Managed VMs build doesn't deploy after 4/14/2015 update for additional info.

Our images are now available on the public Google Container registry. For python, you can grab the image at gcr.io/google_appengine/python-compat

It is important to note that you must do the following to use that image:

docker pull gcr.io/google_appengine/python-compat

You can change the FROM line in your Dockerfile. Also, it's important to note that this image does not have the GAE SDK included, but you can add most python libraries yourself.



来源:https://stackoverflow.com/questions/29698706/cannot-seem-to-install-google-cloud-managed-vms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!