Sign inSign up

robertoprevato/devopsubuntu16.04-docker

By robertoprevato

•Updated about 7 years ago

Image for self-hosted Azure DevOps agent running Ubuntu 16.04, with Docker

Image
0

50K+

robertoprevato/devopsubuntu16.04-docker repository overview

Image for self-hosted Azure DevOps agent running Ubuntu 16.04, with Docker, Moby CLI, tools for Kubernetes client, basic tools such as Azure CLI, Azure CLI DevOps extension, azcopy, wget, curl, etc. This Docker image can be used for Azure DevOps pipelines that require Docker.

The preparation of this image has been described here: Self hosted Azure DevOps agents running in Docker⁠. The source code for this image is public here: https://github.com/RobertoPrevato/AzureDevOps-agents⁠

⁠To run

Create an access token in Azure DevOps. Then for example, to use it from a Linux host having Docker installed, run it this way:

⁠Example 1; interactive run
# interactively:
docker run -it -v /var/run/docker.sock:/var/run/docker.sock robertoprevato/devopsubuntu16.04-docker:latest /bin/bash

# run Azure DevOps agent:
AZP_URL=<YOUR-ORGANIZATION-URL> \
AZP_TOKEN=<YOUR-TOKEN> \
AZP_AGENT_NAME='Ubuntu 16.04 Docker' ./start.sh
⁠Example 2; straight to the point
docker run -v /var/run/docker.sock:/var/run/docker.sock \
-e AZP_URL=<YOUR-ORGANIZATION-URL> \
-e AZP_TOKEN=<YOUR-TOKEN> \
-e AZP_AGENT_NAME='Ubuntu 16.04 Docker' robertoprevato/devopsubuntu16.04-docker:latest

Tag summary

Content type

Image

Digest

Size

757 MB

Last updated

about 7 years ago

docker pull robertoprevato/devopsubuntu16.04-docker