Azure windows self-hosted agent with docker installed

4.2k Views Asked by At

We are trying to develop Azure windows self-hosted to run Azure pipelines.

However, these agents are deployed on kubernetes. And we want these agents to be able to use docker for build/push operations. meaning we need docker inside docker.

Is it possible to install docker on these windows self-hosted agents ?

1

There are 1 best solutions below

2
On

You need to set up a self-hosted agent in Azure Pipelines to run inside a Windows Server Core (for Windows hosts), or Ubuntu container (for Linux hosts) with Docker. Detailed steps you may refer to the following link:

https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops