Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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?

like image 339
Alexandra Bryant Avatar asked Oct 25 '16 18:10

Alexandra Bryant


People also ask

Can you run GUI applications in a Docker container?

Follow the below steps to run a GUI application inside Docker: Step 1: Install and Start Docker and check the status and restart the service. The Systemctl commands are used to manage system services. systemctl start docker // to start the docker service.


1 Answers

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
like image 146
friism Avatar answered Sep 20 '22 15:09

friism