在没有Linux服务器的Windows 10主机上的Docker容器中显示GUI应用程序 [英] Displaying GUI Application in Docker Container on Windows 10 Host Without Linux Servers

查看:309
本文介绍了在没有Linux服务器的Windows 10主机上的Docker容器中显示GUI应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试在以microsoft / nanoserver为基础的容器中对具有Windows 10主机的Windows 10 GUI应用程序进行docker化。

I'm trying to dockerize a Windows 10 GUI application with a Windows 10 host, in a container that has microsoft/nanoserver as the base.

当前,我已将应用程序安装在与dockerfile相同的目录中,将其添加到docker上下文中并运行它没有问题,只是GUI从不显示。

Currently I have the application installed in the same directory as my dockerfile, I add it to my docker context and run it no problem, except that the GUI never displays.

似乎要显示GUI,我必须使用服务器(例如在这种情况下: Windows 10 Docker主机-来自Linux容器的Display GUI应用程序),但因为我没有使用linux容器,而是而是一个Windows容器,有关X11服务器的内容似乎并不相关。

It seems that to display the GUI I would have to use a server (like in this case: Windows 10 Docker Host - Display GUI application from Linux Container) but because I'm not using a linux container but rather a windows container the stuff about X11 server doesn't seem relevant.

如何在纯窗口设置中为GUI应用程序配置显示设置?

推荐答案

当前不支持包含Windows GUI应用程序。详细信息:

Containerizing Windows GUI apps is not currently supported. Details:

  • Access Windows 2016 Server Container (Docker container) via GUI?
  • https://social.msdn.microsoft.com/Forums/en-US/f4314bc8-52d0-477c-9ecc-86a578b53814/no-support-expected-for-rdp-in-containers-for-windows-server-2016?forum=windowscontainers

这篇关于在没有Linux服务器的Windows 10主机上的Docker容器中显示GUI应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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