Tag: gcloud

gcloud错误:(gcloud.app.deploy)错误响应:

运行gcloud app deploy我有下一个错误尝试部署我的应用程序使用gcloud和谷歌云API的容器。 Step 5 : CMD npm start —> Running in cb3b29e90183 —> 296d95a6ac52 Removing intermediate container cb3b29e90183 Successfully built 296d95a6ac52 PUSH The push refers to a repository [us.gcr.io/<ID_PROJECT>/appengine/default.20160906t225412] (len: 1) 296d95a6ac52: Preparing 296d95a6ac52: Pushing 296d95a6ac52: Pushed d6a5f487b829: Preparing d6a5f487b829: Pushing d6a5f487b829: Pushed b71be5d9c21a: Preparing b71be5d9c21a: Pushing b71be5d9c21a: Pushed 75d5a58c171b: Preparing 75d5a58c171b: Pushing 75d5a58c171b: […]

在Mac上将Docker图像推送到Google Container Registry失败

我试图将我的图片上传到Google Container Registry,但是它返回了一些错误,我不知道如何排除故障。 $> gcloud docker — push asia.gcr.io/dtapi-1314/web The push refers to a repository [asia.gcr.io/dtapi-1314/web] 53ccd4e59f47: Retrying in 1 second 32ca8635750d: Retrying in 1 second e5363ba7dd4d: Retrying in 1 second d575d439624a: Retrying in 1 second 5c1cba20b78d: Retrying in 1 second 7198e99c156d: Waiting 6ca37046de16: Waiting b8f2f07b3eab: Waiting 16681562a534: Waiting 92ea1d98cb79: Waiting 97ca462ad9ee: Waiting unable to […]

Google Container Registry的gcloud API是什么?

我必须列出某个项目中发布的Docker容器镜像,但是我找不到使用gcloud CLI工具的合适的API。 这可能吗? 有没有其他解决scheme来列出我的Google项目中的私人容器registry的容器图像?

无法将docker映像推送到gcloud

我正在关注hello节点Kubernetes教程,但是当我使用以下命令将我的机器推到Google云时: gcloud docker push gcr.io/PROJECT_ID/hello-node:v1 我收到以下错误信息: name invalid: Invalid repository name: gcr.io/PROJECT_ID/hello-node (只要避免双重检查,我用PROJECG的实际数字replace了我的PROJECT_ID) 我能够把我的图像推到一个桶,然后运行,但是然后我的图像不显示在容器引擎>容器registry中。 这怎么解决?

无法从Google Compute Engine访问Google Container Registry

我试图将Google Container Registry中的Docker镜像加载到Google Compute Engine实例中。 (我需要的图片已经成功上传到GCR) 我已经login使用gcloud auth login ,然后尝试gcloud docker pull — us.gcr.io/app-999/app导致ERROR: (gcloud.docker) Docker is not installed. 。 我已经尝试使用oauth进行身份validation,并通过普通的泊坞窗口进行通信。 当我在.docker/config.json处查看文件时,我看到了我的凭据。 这样做,它看起来会起作用,但最终会像这样结束: mbname@instance-1 ~ $ docker pull — us.gcr.io/app-999/app Using default tag: latest latest: Pulling from app-999/app b7f33cc0b48e: Pulling fs layer 43a564ae36a3: Pulling fs layer b294f0e7874b: Pulling fs layer eb34a236f836: Waiting error pulling image […]

gcloud预览应用程序安装pipe理虚拟机给出错误 – 500服务器错误:内部服务器错误

在我的机器上设置Google Cloud的Managed VMs环境时出现错误。 以下是我如何调用该命令: $ gcloud preview app setup-managed-vms Select the runtime to download the base image for: [1] Java [2] Python27 [3] Go [4] All Please enter your numeric choice (4): 2 Pulling base images for runtimes [python27] from Google Cloud Storage Pulling image: google/appengine-python27 Traceback (most recent call last): File "/home/tuxdna/software/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 175, […]

计算引擎上的google cloudML的Docker容器 – 安装存储桶的authentication

我一直在使用谷歌的机器学习平台cloudML 。 大图:我试图找出最简洁的方式,让他们的Docker 环境在Google计算实例上运行起来,可以访问cloudML API和存储桶。 从本地开始,我configuration了我的服务帐户 C:\Program Files (x86)\Google\Cloud SDK>gcloud config list Your active configuration is: [service] [compute] region = us-central1 zone = us-central1-a [core] account = 773889352370-compute@developer.gserviceaccount.com disable_usage_reporting = False project = api-project-773889352370 我用谷歌容器图像系列启动一个计算实例 gcloud compute instances create gci –image-family gci-stable –image-project google-containers –scopes 773889352370-compute@developer.gserviceaccount.com="https://www.googleapis.com/auth/cloud-platform" 编辑:需要明确地设置与cloudML沟通的范围。 然后我可以SSH进入该实例(用于debugging) gcloud compute ssh benweinstein2010@gci 在计算实例上,我可以从GCR中提取cloudML docker并运行它 docker […]

哪里可以看到谷歌App Engine上pipe理Vms上的失败部署日志?

当我尝试在pipe理的虚拟机上部署我的应用程序时,在谷歌应用程序引擎上部署失败。 我怀疑这是因为appengine不能运行我的容器,因为它有一个错误。 但是,我无法检查docker日志,因为容器运行失败。 它在本地工作,因为它有不同的configuration比生产。 我怀疑在生产我的应用程序不解决在本地networking中的数据库服务器IP,但我没有任何日志来调查。

无法拉谷歌/ appengine去泊坞窗图像

我试图将我的appengine go应用程序部署到托pipe虚拟机,我不断收到此错误 Pulling image: google/appengine-go Traceback (most recent call last): File "/home/honeybooboo/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 170, in <module> main() File "/home/honeybooboo/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 166, in main _cli.Execute() File "/home/honeybooboo/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 385, in Execute post_run_hooks=self.__post_run_hooks, kwargs=kwargs) File "/home/honeybooboo/google-cloud-sdk/./lib/googlecloudsdk/calliope/frontend.py", line 274, in _Execute pre_run_hooks=pre_run_hooks, post_run_hooks=post_run_hooks) File "/home/honeybooboo/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py", line 928, in Run result = command_instance.Run(args) File "/home/honeybooboo/google-cloud-sdk/lib/googlecloudsdk/appengine/app_commands/setup_managed_vms.py", line 39, in Run […]

谷歌gsutil auth没有提示

我想在Docker容器中使用gsutil。 我已经创build了O2Auth服务帐户JSON文件。 我如何设置gsutil身份validation使用JSONconfiguration文件并执行命令而不提示? 目前我得到这样的东西: $ gsutil config -e It looks like you are trying to run "/…/google-cloud-sdk/bin/bootstrapping/gsutil.py config". The "config" command is no longer needed with the Cloud SDK. To authenticate, run: gcloud auth login Really run this command? (y/N) y This command will create a boto config file at /…/.boto containing your credentials, based […]