Skip to content

Parsa2820/docker-azure-agent-dind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-azure-agent-dind

Docker

Intro

The official Microsoft documentation recommends to use bind mount in order to run docker inside the agent. Considering security implications of mounting Docker socket, I have installed a complete Docker inside the agent image itself.

Usage

docker run -e AZP_URL=<Azure DevOps instance> -e AZP_TOKEN=<PAT token> -e AZP_AGENT_NAME=<agnet name> -e AZP_POOL=<pool name> parsa2820/azure-agent-dind:latest

Build

docker build .