问题
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