cuigh / swirl

A web UI for Docker, focused on swarm cluster.
MIT License
616 stars 80 forks source link

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

Closed angeloluidens closed 2 years ago

angeloluidens commented 4 years ago

Hi,

I am getting the following message in my browser after I login to Swirl: "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"

Could provide my with advise or direction what I am missing or doing wrong?

Below is my docker-compose file section for starting Swirl and MongoDB:

` swirl: image: cuigh/swirl container_name: swirl depends_on:

Thank you in advance. Regards, Angelo

RuiSiang commented 3 years ago
  1. Check if docker service is running
  2. That error is likely a result of running docker in docker, refer to this article
robinwangrubin commented 3 years ago

It looks like your Docker didn't run. check the sock file:/var/run/docker.sock