Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build a docker image from Azure Pipeline Task

In the folliwing documentation https://learn.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops

it is mentioned that - "Be sure your pipelines agent has permission to access the Docker daemon." How to check it, configure it and provide the permission if necessary

I get the following error while building a docker image on a VM machine with docker installed on it:

open //./pipe/docker_engine: Access is denied. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

Already checked that the docker daemon is running with the following command:

docker --version 

And I can see the docker version

Docker version 19.03.5, build 2ee0c57608
like image 753
sajis997 Avatar asked Sep 14 '25 02:09

sajis997


1 Answers

Verify that services using System account. The service is created when configuring the agent

Screen for the configuration

like image 106
Jefferson Soto Avatar answered Sep 16 '25 19:09

Jefferson Soto