datahub icon indicating copy to clipboard operation
datahub copied to clipboard

Docker quickstart can't see docker running

Open lenartowski opened this issue 2 years ago • 3 comments

Describe the bug Can't start datahub docker quickstart, I get the message that Docker doesn't seem to be running

To Reproduce run datahub docker quickstart

Expected behavior Starting datahub

Output

~ datahub docker quickstart
Detected M1 machine
Unable to run quickstart:
- Docker doesn't seem to be running. Did you start it?
~ docker --version
Docker version 20.10.17-rd, build c2e4e01
~ docker-compose --version
Docker Compose version v2.11.1

Desktop (please complete the following information):

  • OS: Macos 12.6.1 (Macbook Pro with M2 chip)
  • Docker 20.10
  • Docker Compose v2.11.1
  • Datahub CLI version 0.9.2

Additional context Docker is running as expected, e.g. docker run hello-world runs without problems. I have Rancher Desktop with dockerd/moby as container engine.

lenartowski avatar Nov 11 '22 11:11 lenartowski

Can you check if datahub docker check works?

aditya-radhakrishnan avatar Nov 15 '22 19:11 aditya-radhakrishnan

@hsheth2 : will this get fixed with your latest changes to docker cli ?

shirshanka avatar Nov 19 '22 02:11 shirshanka

No - this PR https://github.com/datahub-project/datahub/pull/6466 solves for when older versions of docker-compose are installed.

This looks like an issue where docker is installed but we still can't find the docker socket file. @lenartowski I noticed that you're using Rancher desktop - do you see a /var/run/docker.sock file on your system? How about a ~/.rd/docker.sock file?

Possibly related: https://github.com/rancher-sandbox/rancher-desktop/issues/2534

hsheth2 avatar Nov 21 '22 20:11 hsheth2

Hey @lenartowski were you able to look into Harshal's pointers? Is this still an issue for you?

aditya-radhakrishnan avatar Dec 20 '22 01:12 aditya-radhakrishnan

This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io

github-actions[bot] avatar Jan 19 '23 02:01 github-actions[bot]

@lenartowski I'm closing this for now - please reopen it if you're still facing issues with quickstart

hsheth2 avatar Jan 19 '23 21:01 hsheth2