-
Notifications
You must be signed in to change notification settings - Fork 396
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
Can dockerSocketPath
be configurable, issues when socket is in different location.
#1572
Comments
dockerSocketPath
be made configurable, issues when socket is in different location.dockerSocketPath
be configurable, issues when socket is in different location.
Can you please explain in some more detail! |
When running
I get Docker is running but location is |
I am having the same issue. I've had it before with different projects due to the way Docker Desktop sets things up nowadays. Creating a symlink to the local user socket solves it: I can see the source code evals symlinks in the hardcoded path, unsure if the Docker Desktop installation was supposed to create it and failed, but it does work when the symlink is manually created. |
It seems the command still fails, albeit much further down the line now. I can see my app's build stage being completed, and the following error comes after that:
I have tried with both the symlink and by prepending DOCKER_HOST to the command, like so: This issue in buildpacks seems to hint that the export container fails to access the Docker daemon, due to non standard daemon socket location. One workaround in there is to run pack with the |
doctl/internal/apps/builder/cnb.go
Line 36 in 9282784
Error: preparing build environment: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Socket location:
/Users/<user>/.docker/run/docker.sock
The text was updated successfully, but these errors were encountered: