Docker-in-Docker integrated Azure Devops Pipelines Agent image for self-hosted agents. It is based on dcagatay/ubuntu-dind image. This image uses s6-overlay to run multiple services inside Docker container.
Image @DockerHub: dcagatay/azp-agent-dind.
Images are updated with new versions of Azure Devops Pipeline agent are released, see tags tab for the up to date tag list. Or use latest.
You can and should use it as a base image for your self-hosted agent and create your build environment.
docker run -it --privileged dcagatay/azp-agent-dind:latest /bin/bash
DOCKER_EXTRA_OPTS: Used to give arguments to dockerd command. Details can be found on its reference. Default: --log-level=error --experimentalEnvironment variables specific to Azure Devops Pipelines Agent must be set, details are in its docs.
You can build your own images specifying following build arguments.
AGENT_VERSION: Azure Devops Agent version. Default 2.185.1.This image uses dcagatay/ubuntu-dind:18.04 as its base image, if you require more detailed build options, check its docs.
The --privileged argument has security implications.
Content type
Image
Digest
sha256:e4ce9288c…
Size
605.1 MB
Last updated
about 4 years ago
docker pull dcagatay/azp-agent-dind