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

macOS Sequoia (15.1.1) and docker fail at daytona serve with "Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?" #1547

Closed
idjordje opened this issue Dec 24, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@idjordje
Copy link

Describe the bug
Installed latest Daytona image (v0.50.0) and tried to start server but got "Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
docker installed vie brew install --cask daytona

The .sock file that docker created is at: ~/.docker/run/docker.sock

Is there a workaround?

@idjordje idjordje added the bug Something isn't working label Dec 24, 2024
@Tpuljak
Copy link
Member

Tpuljak commented Dec 24, 2024

@idjordje can you confirm that docker is running normally and you can do docker ps?

@idjordje
Copy link
Author

idjordje commented Dec 24, 2024 via email

@Tpuljak
Copy link
Member

Tpuljak commented Dec 24, 2024

Ah right.

Can you try DOCKER_HOST=<your sock path> daytona serve?

@idjordje
Copy link
Author

idjordje commented Dec 24, 2024 via email

@Tpuljak
Copy link
Member

Tpuljak commented Jan 7, 2025

@idjordje sorry for the late response, we were on holidays.

Try it like this: DOCKER_HOST=unix:///Users/ivandjordjevic/.docker/run/docker.sock daytona serve

@idjordje
Copy link
Author

idjordje commented Jan 7, 2025 via email

@Tpuljak
Copy link
Member

Tpuljak commented Jan 8, 2025

@idjordje no problem!

Closing the issue for now. Let us know if you have any other questions or issues.

@Tpuljak Tpuljak closed this as completed Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants