Search code examples
dockertfsrelease-management

Is it possible to create a docker container from TFS and deploy a release build to it?


We are running on-premises TFS 2017. I would like to create a release definition for our QA team which will create a Docker container running Windows 7, and deploy our release build to it automatically.

Once the deployment is done the QA team should be able to log onto the container to test the app. No manual running of a MSI installer or Setup.exe.

Ideally each queued release will create its own container with its own copy of the released build.

Is this possible? Or recommended? All our servers and hosts will be in-house, we will not be using Azure.

Thanks in advance for any advice.


Solution

  • It is able to create a docker container from TFS and integrate with build/Release pipeline. Some tutorials for this area:

    However it's not possible to build a Windows 7 Docker Container. If you plan on doing a full installation of Windows 7, you should use a VM. Docker is not meant to be used in that sense.

    For more details please refer this similar question: Build a Windows 7 Container