Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running kiln test on MacOS due to Docker Desktop socket path #440

Open
Gerg opened this issue Sep 6, 2023 · 1 comment
Open

Issue running kiln test on MacOS due to Docker Desktop socket path #440

Gerg opened this issue Sep 6, 2023 · 1 comment

Comments

@Gerg
Copy link
Member

Gerg commented Sep 6, 2023

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
@Gerg Gerg added the bug label Sep 6, 2023
@cf-gitbot
Copy link
Member

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants