Coder.comC
Coder.com4y ago
10 replies
Marco Aleixo

Error Error pinging Docker server Cannot connect to the Docker daemon at unixvarrundocker.so

Hey team,

I have already configured coder on my Azure Kubernetes cluster, configured my domain and I'm able to log in.
I'm trying to upload my first Template following some steps like ( on my local machine ):

- coder login coder.mycluster.com ( all good on this step )
- coder template init ( choosed the docker-code-server )
- cd ./docker-code-server && coder templates create


But in this moment I got the Error: Error pinging Docker server: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

I'm using WSL2, and I'm able to run all my docker commands ( docker info, docker-compose up etc etc ). So not sure how debug this.
I have the Ubuntu integration enabled on my Docker Desktop.
Was this page helpful?