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.
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
In the meanwhile Microsoft has released their Windows Container feature within Windows Server 2016 and Windows 10 Pro and up. One can start running container natively on Windows. Mind you, you can only run Windows-based container images. So this cannot be leveraged if you want to run Linux-based container images, which currently is still the majority. Unfortunately at this moment one cannot easily filter within Docker Hub on the desired container-base.
Refer to https://docs.microsoft.com/en-us/virtualization/windowscontainers/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With