docker - 谷歌应用引擎 : Load another Docker Image for Scrapy + Splash

标签 docker google-app-engine scrapy scrapy-splash splash-js-render

我想在 Google App Engine 中使用 Scrapy + Splash 抓取一个 javascript 网站。 Splash 插件是一个 Docker 镜像。有什么方法可以在 Google App Engine 中使用它吗? App Engine 本身使用 Docker 镜像,但我不确定如何加载和访问辅助镜像(Splash 就是这样使用的)。 Here are the Splash install instructions

最佳答案

您可以在 App Engine 柔性环境中使用自定义运行时。

Custom runtimes let you build apps that run in an environment defined by a Dockerfile. By using a Dockerfile, you can use languages and packages that are not part of the Google Cloud Platform and use the same resources and tooling that are used in the App Engine flexible environment.

探索更多 About Custom Runtimes .请注意,当您使用自定义运行时时,您必须编写应用程序代码来处理一些灵活的环境生命周期和健康检查请求。检查how to build a custom runtime获取更多信息。

关于docker - 谷歌应用引擎 : Load another Docker Image for Scrapy + Splash,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58840392/

相关文章:

docker - Docker没有缓存Alpine apk add命令

google-app-engine - 使用 Google App Engine 设置登台环境

java - 在两个不同的 html 表中显示从 GAE 数据存储中检索到的数据

python - 在 Scrapy 中顺序运行多个爬虫

node.js - 带有 nodeBB redis 的 Docker 配置不正确?

docker - 我可以在生产中使用 boot2docker 吗? CoreOS 与 boot2docker

python - Scrapy 无法识别的命令

python - Scrapy:提取存储为脚本标签中文本的字典

docker - dockerfile 中语法错误未终止的带引号的字符串

mongodb - GCP应用引擎中的Mongo数据库