Launch TFS with Docker

I read a lot about Docker and its use. We are currently using TFS to build and deploy our embedded application (.net C #). Are there any advantages to switching to Docker? Does this mean that it is configured so that after TFS starts the assembly, it will be deployed to the container?

There is currently no easy way to start the assembly, apart from the manual steps: How to create prefabricated projects on the desktop ,

  • Can I launch docker on Windows Server?
  • Can we configure our virtual machines using dockers so that we can locally deploy / simulate the deployment process (in our vms)?
  • And do we have the same process as for our production environment?
+5
source share
2 answers

Yes, you can run docker on Windows Server, but it cannot run on Windows initially.

Because Docker relies on Linux-specific features, you cannot run Docker natively on Windows. Instead, you should install the Docker Toolbox expression. The application installs the VirtualBox virtual machine (VM), Docker itself, and the Docker Toolbox management tool. These three things let you run Docker on Windows.

For deployment with docker, refer to this link for more information: http://www.colinsalmcorner.com/post/continuous-deployment-with-docker-and-build-vnext

+3
source

Meanwhile, Microsoft released its Windows Container feature in Windows Server 2016 and Windows 10 Pro and above. You can run the container natively on Windows. Keep in mind that you can only run Windows-based images. Therefore, this cannot be used if you want to run images on Linux-based containers, which currently still make up the majority. Unfortunately, at the moment you can’t easily filter in the Docker Hub on the desired container base.

Refer to https://docs.microsoft.com/en-us/virtualization/windowscontainers/

+2
source

Source: https://habr.com/ru/post/1239927/


All Articles