Skip to content

Cannot connect to the Docker daemon at unix:///var/run/docker.sock #68

Description

@GopikaV24

I am trying to run Azure Cli in GitHub Selfhosted agent which is provisioned in AKS Cluster.

As AKS has restriction to mount docker.sock, containerd.sock mounted already in self-hosted pod.

But Azure Cli expecting docker.sock mounted in pod.

Starting script execution via docker image mcr.microsoft.com/azure-cli:2.31.0
Error: Error: docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

cleaning up container...
Warning: Error: The process '/usr/bin/docker' failed with exit code 1
Warning: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

(node:13057) UnhandledPromiseRejectionWarning: Error: docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

Metadata

Metadata

Labels

help wantedExtra attention is neededidleInactive for 14 daysstale90 days old

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions