Docker Community Forums

Share and learn in the Docker community.

Windows Forms Applications in Container

I’m exploring docker now there is native container support within Windows 10 itself. Can you run Windows Form applications within a windows 10 nanoserver image?

My current build:

  1. Windows 10 Enterprise + Anniversary update (HyperV Enabled).
  2. Docker version 1.12.1, build 23cf638
1 Like

You cannot, Docker Windows containers don’t support GUI apps yet.

Thank you @friism for the speedy reply. That answers my next question about using MSI installers via a GUI for applications. Do we know if GUI support is on the backlog?

I too would like to know if GUI support is on the backlog. I’d love to run some browsers for Karma testing and stuff. I feel like it’s pretty important that they support this feature.

Does docker support GUI apps on non windows platforms ? e.g. on ubuntu ?

For my purposes i`m installing in dockerfile
apt-get install -y
libxtst6 libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 xvfb

then run container, open via bash, and after:

Xvfb :99
export DISPLAY=:99
mcs -pkg:dotnet someFile.cs
mono someFile.exe

1 Like