是否可以在 Google App Engine **Flexible** 环境中运行 Windows 可执行文件? [英] Is it possible to run a Windows executable in Google App Engine **Flexible** environment?

查看:13
本文介绍了是否可以在 Google App Engine **Flexible** 环境中运行 Windows 可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Google App Engine 标准版中肯定是不可能的强>环境,但有人告诉我,在灵活环境中很可能实现.

It is certainly not possible in Google App Engine Standard environment but I have been told it is likely to be possible in Flexible environment.

这是否正确,如果正确,该怎么做?

Is this correct and if so how to do this?

如果不是,那么除了 Compute Engine 之外,还有哪些 Google Cloud Platform 解决方案适合我运行 .exe 的要求?

If not, then what Google Cloud Platform solution except Compute Engine would fit my requirement to run an .exe?

推荐答案

App Engine Flexible 使用带有 Linux 映像的虚拟机作为主机,然后运行 ​​Docker 容器,所以我认为目前这是不可能的.Microsoft 一直在谈论 Windows 容器,但我相信它们只能在 App Engine Flexible 当前不支持的 Windows 主机上运行.

App Engine Flexible uses VMs with Linux images as the host machine, which then run Docker containers, so I don't believe this is currently possible. Microsoft has been talking about Windows containers, but I believe they can only run on Windows hosts which App Engine Flexible does not currently support.

https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server

我能想到的在灵活的 App Engine 上运行 Windows exe 的唯一方法是找出一种在 Linux 上运行 Windows exe 的方法,这可能使用 WINE 之类的东西.在这里看看这个问题:

The only way I can think of to run a Windows exe on App Engine flexible would be to figure out a way to run the Windows exe on Linux, which may be possible with something like WINE. Take a look at this question here:

https://superuser.com/questions/216629/can-i-run-a-windows-exe-file-on-linux

如果我不得不猜测,这很可能是告诉您这是可能的人的想法.

If I had to guess, this is likely what the person who told you this was possible had in mind.

在容器引擎世界中,支持 Windows 容器是 Kubernetes 中讨论的话题,这可能最终会在容器引擎中结束,但正如您所看到的,所有这些想法仍处于早期开发阶段:

In the Container Engine world, supporting Windows containers is a topic of discussion in Kubernetes, which may eventually end up in Container Engine, but as you can see all these ideas are still early development stages:

https://github.com/kubernetes/kubernetes/issues/22623

这篇关于是否可以在 Google App Engine **Flexible** 环境中运行 Windows 可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆