This repository can be used to create an Azure DevOps Pipeline Agent for Docker.
docker build -t dockeragent:latest .
See .env
- AZP_URL
- AZP_TOKEN
- AZP_AGENT_NAME
- AZP_POOL (Default = Default. Create pool before creating the agents. Create here)
docker network create azdo_agents_network
docker run -d -e AZP_URL=$AZP_URL -e AZP_TOKEN=$AZP_TOKEN -e AZP_AGENT_NAME=$AZP_AGENT_NAME -e AZP_POOL=$AZP_POOL --net azdo_agents_network --name $AZP_AGENT_NAME dockeragent:latest
docker-compose up -d