kiln
kiln copied to clipboard
Issue running `kiln test` on MacOS due to Docker Desktop socket path
Describe the bug
Running kiln test
doesn't work out of the box on my machine (MacOS + Docker Desktop), due to the location of the docker socket.
Reproduction steps
❯ kiln test --verbose
kiln test: 2023/09/06 19:24:00 connecting to ssh socket "/private/tmp/com.apple.launchd.LRURLkxf4S/Listeners"
kiln test: 2023/09/06 19:24:00 ensuring ssh agent keys are configured
kiln test: 2023/09/06 19:24:00 pinging docker daemon
2023/09/06 19:24:00 could not execute "test": failed to connect to Docker daemon: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Expected behavior
kiln test
should run successfully.
Additional context
I was able to work around it by creating a symlink:
❯ sudo ln -s ~/.docker/run/docker.sock /var/run/docker.sock