我最近从 press release 了解到了 Docker。 Google App Engine 支持它。
问题是,
- 这是否意味着我们现在可以使用 Docker“打包”我们的应用程序(可能包含非 GAE 白名单 jar)并期望它能够与 Google App Engine 配合使用?
- docker 应用如何访问 Datastore API,TaskQueue API 有办法,还是这个问题无关紧要?
- 如果我用 Docker 打包一个可以访问 MongoDB、MySQL 或其他任何内容的 Spring 应用程序,那么它可以在 GAE 上运行吗?如果可以,那是怎么回事?
或者如果这个想法不正确,
- Docker 和 Google App Engine 的集成是什么?
最佳答案
这是正在进行的有限预览的一部分 Managed VMs ,您可以通过以下方式订阅 form
Does it mean that we can now "package" our app using Docker (may it contain non-GAE white-listed jars) and expect it to work with Google App Engine?
是的
How a docker app can access the Datastore API, the TaskQueue API is there a way, or this question is irrelevant?
使用常规 API jar。
If I package with Docker, say, a Spring app that access MongoDB, MySQL or whatever would it work GAE, if yes how come?
由于底层容器在 Google Compute Engine 虚拟机上运行,请参阅 Managed VMs documentation之前引用过更多详细信息。
关于java - Docker 支持 - Google App Engine (Java),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24330518/