dapr / cli

Command-line tools for Dapr.
Apache License 2.0
314 stars 197 forks source link

dapr init fails when using default docker context in Docker Desktop OSX #1402

Closed ipedrazas closed 6 days ago

ipedrazas commented 1 month ago

Expected Behavior

When

dapr init works when using the default docker context in OSX (socket located in ///Users/<user>/.docker/run/docker.sock)

Actual Behavior

When installing and initializing the Dapr CLI, if you see the following error message after running dapr init:

⌛  Making the jump to hyperspace...
❌  could not connect to docker. docker may not be installed or running

Steps to Reproduce the Problem

Using Docker Desktop in OSX:

dapr uninstall docker context use desktop-linux dapr init

Release Note

RELEASE NOTE: FIX Bug in dapr init when using Docker Desktop in OSX

ipedrazas commented 1 month ago

(I forgot to mention that I have the fix in case that you're interested 🙈 )

salaboy commented 1 month ago

@ipedrazas thanks! send the PR we can look into it.

dapr-bot commented 1 week ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

dapr-bot commented 6 days ago

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.