dgraph
dgraph copied to clipboard
[BUG]: On OSX, tests relying on Docker not working with newer Docker Desktop
What version of Dgraph are you using?
v24.0.5 (on main branch)
Tell us a little more about your go-environment?
go version go1.22.10 darwin/arm64
Have you tried reproducing the issue with the latest release?
None
What is the hardware spec (RAM, CPU, OS)?
64GB Mac M4, OSX 15.1
What steps will reproduce the bug?
cd t make test args="--pkg=/graphql/resolve" (base)
Expected behavior and actual result.
Expected to tests to be able to connect to the running Docker Desktop instance, but instead it fails with
While listing container: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Additional information
The newer versions of Docker Desktop for Mac typically create the socket at ~/.docker/run/docker.sock
I'm working on a fix.
Hi Matthew, Thank you for filling an issue. Let us know when the fix is ready.