Does docker have a windows container to build windows applications on?

Viewed 733

I am on a mac but want to build my application on a windows image. Is this possible with docker? If so what image do I need to use?

The reason I need to build the application on windows is for the code signing and binary building of electron. If this is not possible please let me know.

1 Answers

Since docker is not meant to be a UI for users (though it can be); images for Windows 7, 8, 10, et al are not available. However, Windows Server Core IS available via the Docker Hub.

If you simply need a x86 Win environment to build the application that should do the trick. If you need a full GUI, go Virtual Box or other virtualization tech. Docker containers are meant for single process isolation, ever see windows run only 1 process?

Hope this helps!

Update: It IS possible to run GUI applications via Docker; at least on a Linux host. http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/

Update2: It is now possible to run Windows applications (CLI or GUI) via Docker: here and here has information regarding the process.

Related