

- #Using vsts personal access token with visual studio for mac install
- #Using vsts personal access token with visual studio for mac download
This tool is really easy to use and it allows to have a Docker host up and running in a few minutes! All you need to do to get your Docker host up and running in Azure is described here. I choose to create an Ubuntu machine in Microsoft Azure using the docker-machine command line. Any machine you own, physical or virtual, can be a VSTS agent. Visual Studio Team Services supports hosted agents (provided by Microsoft and running Windows) and custom agents that can run Windows, Linux or Mac OS. For this article I have used the same Linux box for both the Docker host and VSTS agent and I have used the public Docker Hub to store the images. You also need a build agent that has the Docker command line installed. A Docker Hub/Registry connection to store the image.A Docker host that will be used to build, push, run the images.To use the extension, you need to configure two external services in VSTS: Now, if you create a new Build definition you should see two new extensions available, Docker and Docker Compose:
#Using vsts personal access token with visual studio for mac install
Once authenticated, you have to choose the VSTS account where you want to install the extension:Ĭlick on the Confirm button, and you are done! If you are not already logged in you will be asked for your credentials.
#Using vsts personal access token with visual studio for mac download
Note: this extension is also available for Team Foundation Server, so you can download it and install it on your on premise server, if needed.

The Docker task is available here.Īdding an extension to VSTS is really easy as you just have to click on the Install button: Get the Docker taskĪs you maybe already know, Visual Studio Team Services comes with a Marketplace where you can find some tasks and extensions for your build and release definitions. In this post I will detail how you can use the Docker extension for VSTS to build, push and run Docker images on Linux. Visual Studio Team Services (VSTS) is a great tool to handle your build and release pipelines, even for non Windows applications. Build, push and run Docker images with Visual Studio Team Services in DevOps
