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

Can dockerSocketPath be configurable, issues when socket is in different location. #1572

Open
valentincodes opened this issue Aug 29, 2024 · 2 comments

Comments

@valentincodes
Copy link

var dockerSocketPath = "/var/run/docker.sock"

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

@valentincodes valentincodes changed the title Can dockerSocketPath be made configurable, issues when socket is in different location. Can dockerSocketPath be configurable, issues when socket is in different location. Aug 29, 2024
@Adya-Prasad
Copy link

Can you please explain in some more detail!

@valentincodes
Copy link
Author

When running

doctl app dev build

I get
✔ fetching app details
✔ loading config from app ***
▸ current app dev workspace: ***
✔ preparing app dev environment
Error: preparing build environment: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Docker is running but location is /Users/<user>/.docker/run/docker.sock

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

No branches or pull requests

2 participants