marmelab/greenframe-cli

Error when running on MacOS: Could not connect to Docker daemon on undefined:undefined

fzaninotto opened this issue · 1 comments

I just followed the installation procedure:

➜  greenframe-cli git:(main) ./bin/run analyze https://greenframe.io
✔ Check configuration file
✔ Retrieving Git information
❯ Analysis is in progress locally
  ✔ Docker version 24.0.2, build cb74dfc
  ✖ Could not connect to Docker daemon on undefined:undefined

❌ Failed!
ConfigurationError
Could not connect to Docker daemon on undefined:undefined

Contact us for support: contact@greenframe.io

Docker Desktop on OSX seems to have a wrong configuration. Solved by typing:

sudo ln -s ~/.docker/run/docker.sock /var/run/docker.sock