简体   繁体   中英

How to create windows docker image with VS test agents?

I couldn't find any windows image with test agents at microsoft's public docker repo. How can i create a windows docker image with Visual Studio Tests agents to run codedui/mstest?

On a general note how to create a windows docker image with any gui based software pre-installed and pre-configured?

Note: This looks like a low research question, but i had to post it here because docker+windows is relatively new thing and there aren't much information available on net as well.

You could have a VM template with the Microsoft Agent Software already installed on the machine. All the GUI setup does is modify an XML, so you could effectively:

  1. Have a VM container with the AGENT already installed.
  2. Stop the TestAgent service
  3. Modify the Agent Configuration XML
  4. Restart the TestAgent service

This could probably be achieved with a PowerShell script or a custom console application.

If you need more help, we could figure this out together. Please feel free to contact me on LinkedIn.

https://www.linkedin.com/in/david-o-neill-8a1aa498/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM