Search code examples
tfsdockerboot2dockerbuild-server

Run TFS with Docker


I've been reading a lot about Docker and its uses. Currently we are using TFS for building and deploying our in house app (.net c#). Are there any benefits for transitioning to Docker? Meaning having it set up so that after TFS runs the build, it will deploy to a container?

Currently there is no easy way to run the build ourselves besides doing bunch of manual steps: How to: Build Team Projects on a Desktop.

  • Can you run docker on Windows Server?
  • Would we be able to setup our VMs with docker so that we can deploy/mimic deployment process locally (to our vms)?
  • And have the same process set up for our production environment?

Solution

  • Yes, you can run docker on Windows Server, but it cannot run natively on Windows for now.

    Because Docker relies on Linux-specific features, you can’t run Docker natively in Windows. Instead, you must install the Docker Toolbox application. The application installs a VirtualBox Virtual Machine (VM), Docker itself, and the Docker Toolbox management tool. These three things allow you to run Docker on Windows.

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