btungut / azure-devops-agent-on-kubernetes

The easiest and most effective method for creating and managing Azure DevOps agents on Kubernetes
MIT License
26 stars 10 forks source link

Docker build failing #20

Open widdix123 opened 4 months ago

widdix123 commented 4 months ago

Starting: Build an image

Task : Docker Description : Build or push Docker images, login or logout, start or stop containers, or run a Docker command Version : 2.231.0 Author : Microsoft Corporation Help : https://aka.ms/azpipes-docker-tsg

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? /usr/bin/docker pull node:12.18.1 /usr/bin/docker inspect node:12.18.1 [] /usr/bin/docker build -f /azp/_work/1/s/app/Dockerfile --label com.azure.dev.image.system.teamfoundationcollectionuri=https://dev.azure.com/abhishekgupta0696/ --label com.azure.dev.image.system.teamproject=devops-learning --label com.azure.dev.image.build.repository.name=devops-learning --label com.azure.dev.image.build.sourceversion=92ec1cc1737e514cc2523c3951bbd3776bef275e --label com.azure.dev.image.build.repository.uri=https://abhishekgupta0696@dev.azure.com/abhishekgupta0696/devops-learning/_git/devops-learning --label com.azure.dev.image.build.sourcebranchname=main --label com.azure.dev.image.build.definitionname=devops-learning --label com.azure.dev.image.build.buildnumber=20240226.1 --label com.azure.dev.image.build.builduri=vstfs:///Build/Build/11 --label image.base.ref.name=node:12.18.1 -t pipelines-javascript-docker:11 /azp/_work/1/s/app ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

[error]ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

[error]The process '/usr/bin/docker' failed with exit code 1

Finishing: Build an image

karabasosman commented 1 month ago

@btungut +1