-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Labels
bug
Something isn't working
Comments
@idjordje can you confirm that docker is running normally and you can do |
Yes, docker ps produces out.
I think the problem is that daytona serve looks for docker.sock file under unix:///var/run/docker.sock while docker on macOS puts it under ~/.docker/run/docker.sock
When I did docker ps I noticed it complained about missing .sock file and then noticed it’s in different location then what was daytona complaining about.
I installed docker via brew install but it produces same error when installed via app dmg
…-Ivan
On Dec 24, 2024, at 12:09 AM, Toma Puljak ***@***.***> wrote:
@idjordje <https://github.com/idjordje> can you confirm that docker is running normally and you can do docker ps?
—
Reply to this email directly, view it on GitHub <#1547 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAROHHOFPWDLNHPJGY5IQQD2HECEPAVCNFSM6AAAAABUD3O6OSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQG42TINJWGI>.
You are receiving this because you were mentioned.
|
Ah right. Can you try |
Now I get this:
(base) ***@***.*** ~ % docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
(base) ***@***.*** ~ % ls //Users/ivandjordjevic/.docker/run/docker.sock
//Users/ivandjordjevic/.docker/run/docker.sock
(base) ***@***.*** ~ % DOCKER_HOST=//Users/ivandjordjevic/.docker/run/docker.sock daytona serve
INFO[0000] Starting api server on port 3986
INFO[0000] Starting local container registry...
INFO[0000] Starting headscale server...
INFO[0002] Headscale server started
INFO[0002] Starting Daytona server
ERRO[0006] unable to parse docker host `//Users/ivandjordjevic/.docker/run/docker.sock`
… On Dec 24, 2024, at 10:00 AM, Toma Puljak ***@***.***> wrote:
Ah right.
Can you try DOCKER_HOST=<your sock path> daytona serve?
—
Reply to this email directly, view it on GitHub <#1547 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAROHHIFRU3KWQTGHZJLSCT2HGHLJAVCNFSM6AAAAABUD3O6OSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRGI4TEMJSHA>.
You are receiving this because you were mentioned.
|
@idjordje sorry for the late response, we were on holidays. Try it like this: |
That solved the problem. Thank you very much.
…-Ivan
On Jan 7, 2025, at 12:07 AM, Toma Puljak ***@***.***> wrote:
@idjordje <https://github.com/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
—
Reply to this email directly, view it on GitHub <#1547 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAROHHPNIT4PHMI7KVAQ7G32JN4MRAVCNFSM6AAAAABUD3O6OSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZUGUZTMNZSGI>.
You are receiving this because you were mentioned.
|
@idjordje no problem! Closing the issue for now. Let us know if you have any other questions or issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
The text was updated successfully, but these errors were encountered: