Displaying GUI Application in Docker Container on Windows 10 Host Without Linux Servers

北慕城南 提交于 2019-11-29 00:45:40

问题


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.

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.

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.

How would I configure my display settings for a GUI application in a pure windows set up?


回答1:


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


来源:https://stackoverflow.com/questions/40247310/displaying-gui-application-in-docker-container-on-windows-10-host-without-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!