Tag: 谷歌应用程序引擎

托pipe虚拟机添加到PATH

在Google App Engine的Managed VMS的Python运行时 ,我想安装Splinter (selenium)Chromedriver。 根据Linux的文档,我有我的dockerfile中的以下内容: # Dockerfile extending the generic Python image with application files for a # single application. FROM gcr.io/google_appengine/python-compat RUN apt-get update && apt-get install -y apt-utils zip unzip wget ADD requirements.txt /app/ RUN pip install -r requirements.txt RUN cd $HOME/ RUN wget https://chromedriver.googlecode.com/files/chromedriver_linux64_20.0.1133.0.zip RUN unzip chromedriver_linux64_20.0.1133.0.zip RUN mkdir -p […]

无法连接到Windows 7上的Docker守护进程

我试图部署一个应用程序在谷歌云,只是按照https://cloud.google.com/nodejs/getting-started/hello-world#running_hello_world教程,但每次运行: gcloud –verbosity debug preview app deploy app.yaml –promote 我收到一条消息错误: Copying certificates for secure access. You may be prompted to create an SSH key pair. DEBUG: Loaded Command Group: ['gcloud', 'compute', 'copy_files'] DEBUG: Detected docker environment variables: DOCKER_HOST=tcp://104.197.75.48:2376, DOCKER_CERT_PATH=tmpurmvdk, DOCKER_TLS_VERIFY=True INFO: Starting new HTTPS connection (1): 104.197.75.48 DEBUG: Failed to connect to Docker daemon due […]

更快的Google App Engine托pipe虚拟机部署(Python compat env)?

我们将Google App Engine(GAE)与托pipe虚拟机一起用于Python 兼容环境,部署需要很长时间。 我没有做过严格的计算,但我确定每个部署需要10分钟以上。 我们可以做些什么来加速这个? 这是更多的GAE或docker问题? 还没有尝试过在其他平台上部署Docker,所以我不确定标准/可接受的部署时间。 不得不等待在testing服务器上testing应用程序会对我们的生产力造成很大的损害。 任何帮助表示赞赏。 🙂

Docker-Compose构build在Google App Engine上失败

我试图让我的后端在Google App引擎上运行,但是我遇到了一些安装问题。 我的后端使用Docker和Docker-compose来安装一切,并在运行时 docker-compose build 它会开始运行,然后停在 npm info git [ 'submodule', '-q', 'update', '–init', '–recursive' ] 与错误 npm ERR! git submodule -q update –init –recursive: fatal: unable to connect to github.com: npm ERR! git submodule -q update –init –recursive: github.com[0: 192.30.253.112]: errno=Connection timed out npm ERR! git submodule -q update –init –recursive: npm ERR! git […]

Google Cloud Shell,从1.9.1升级Docker,这是不可能的?

我遵循这个指南: https : //docs.docker.com/engine/installation/linux/debian/ 但没有什么,毕竟我的docker version是这样的: Client: Version: 1.12.3 API version: 1.24 Go version: go1.6.3 Git commit: 6b644ec Built: Wed Oct 26 21:39:14 2016 OS/Arch: linux/amd64 Error response from daemon: client is newer than server (client API version: 1.24, server API version: 1.21) 它始终是version 1.9.1 。 怎么做? 我需要docker-compose使用docker-compose.yml文件VERSION 2 。 所以我需要docker-engine至less1.10.x. 怎么做?

通过Docker部署Elixir应用程序到Google Cloud

我正在尝试将我的Docker映像部署到Google Cloud,并遇到一些问题。 一切工作在当地。 我跑 docker run -it -p 4000:4000 myimage 当我去localhost:4000时,一切都正常。 但是,当我尝试使用该命令部署到Google Cloud时 gcloud app deploy –version=1 app.yaml 部署运行平稳,但是当我导航到我的网站,我得到一个503错误: 错误:服务器错误 您请求的服务尚不可用。 请在30秒后重试。 任何提示将非常感谢。

如何将Spring Boot应用程序部署到Google Managed VM

我有一个Spring Boot应用程序,我试图找出将它部署到Google新的Managed VM环境(这些是能够运行Docker容器的VM)。 我开始下定义app.yaml的道路如下: application: myapp-1 version: 1 runtime: java api_version: 1 vm: true handlers: – url: /* servlet: org.springframework.web.servlet.DispatcherServlet init_params: contextAttribute: org.springframework.web.context.WebApplicationContext.ROOT 然后,我运行以下命令从我的应用程序根目录中进行testing: gcloud –verbosity debug preview app run . 我一直在做一些试验和错误,现在得到以下例外: Unknown url handler type. <URLMap secure=default static_files=None application_readable=None auth_fail_action=redirect require_matching_file=None static_dir=None redirect_http_response_code=None http_headers=None url=/* script=None upload=None api_endpoint=None expiration=None position=None login=optional mime_type=None > 我使用https://cloud.google.com/appengine/docs/java/configyaml/appconfig_yaml作为指南,但是我开始怀疑托pipeVM环境支持app.yaml格式。 […]

Ubuntu上托pipe虚拟机使用自定义运行时

是否可以用Ubuntu而不是Debian来部署托pipe虚拟机? 我试过使用: FROM ubuntu:latest 在Dockerfile的顶部,但是当它部署时,我从计算引擎控制台ssh进入,我仍然看到Debian。 我知道我做错了什么,我的app.yaml文件有我认为是正确的线: runtime: custom api_version: 1 threadsafe: true vm: true 谢谢!

Docker支持 – Google App Engine(Java)

我最近了解到Docker和Google App Engine支持它的新闻稿 。 问题是, 这是否意味着我们现在可以使用Docker(可能包含非GAE白名单jar包)来“打包”我们的应用,并期望它能与Google App Engine一起使用? Docker应用程序如何访问Datastore API,TaskQueue API是否有办法,或者这个问题是不相关的? 如果我用Docker打包,比如说一个访问MongoDB,MySQL的应用程序,或者其他工作的GAE,如果是的话,怎么回事? 否则,如果这个想法是不正确的, Docker和Google App Engine的整合是什么?

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, […]