Title

Question

I am trying to set up local docker for Datahub on Windows following the quickstart guide, but when I run 'datahub docker quickstart' command, I get the error 'Docker doesn't seem to be running. Did you start it?' despite having other Docker images running. How can I resolve this issue?

Answer

It could be helpful to first check if Docker is properly installed by running 'docker info' command. If Docker is running correctly, check the log in your terminal after executing 'datahub docker quickstart' command for any errors. Additionally, adding prefix 'python3 -m' before 'datahub docker quickstart' command might resolve the issue. If the issue persists, it could be due to missing Docker Compose. In such cases, follow the instructions mentioned in Datahub installation documentation.

g

glamorous-football-7431

10/12/2022, 12:51 PM
Hi all! Want to try out Datahub so I am trying to set up the local docker on windows. I have followed the quickstart guide and when it comes time to run the
datahub docker quickstart
command I get the below error.. I ran
docker ps
and my docker instance is running.. Any help would be awesome? 😄
Unable to run quickstart:
- Docker doesn't seem to be running. Did you start it?
f

famous-florist-7218

10/12/2022, 12:52 PM
Please install Docker first. https://docs.docker.com/engine/install/
@glamorous-football-7431 Did you check with this command?
docker info
g

glamorous-football-7431

10/12/2022, 12:58 PM
Yes, its running. I already have other images which I am using
f

famous-florist-7218

10/12/2022, 1:04 PM
That’s weird. Could you share the log from datahub command?
g

glamorous-football-7431

10/12/2022, 1:05 PM
how/where can I see this?
f

famous-florist-7218

10/12/2022, 1:09 PM
I meant the log in your terminal after executing
datahub docker quickstart
.
g

glamorous-football-7431

10/12/2022, 1:09 PM
That is the only output I get
$ datahub docker quickstart
Unable to run quickstart:
- Docker doesn't seem to be running. Did you start it?
f

famous-florist-7218

10/12/2022, 1:12 PM
Ok. Can you run this command
datahub version
? What’s its output?
g

glamorous-football-7431

10/12/2022, 1:13 PM
$ datahub version 
DataHub CLI version: 0.8.45.2
Python version: 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)]
f

famous-florist-7218

10/12/2022, 1:17 PM
Can you try to add prefix 'python3 -m' before datahub command?
b

better-orange-49102

10/12/2022, 1:26 PM
Missing docker compose, I think
g

glamorous-football-7431

10/12/2022, 1:36 PM
I was using anaconda as my venv, so I created a fresh one and it seems to be continuing now with more errors
datahub docker quickstart
No Datahub Neo4j volume found, starting with elasticsearch as graph service.
To use neo4j as a graph backend, run
`datahub docker quickstart --quickstart-compose-file ./docker/quickstart/docker-compose.quickstart.yml`
from the root of the datahub repo

Fetching docker-compose file <https://raw.githubusercontent.com/datahub-project/datahub/master/docker/quickstart/docker-compose-without-neo4j.quickstart.yml> from GitHub
Pulling docker images...
time="2022-10-12T15:29:13+02:00" level=warning msg="The \"HOME\" variable is not set. Defaulting to a blank string."
time="2022-10-12T15:29:13+02:00" level=warning msg="The \"HOME\" variable is not set. Defaulting to a blank string."
no matching manifest for windows/amd64 10.0.22000 in the manifest list entries
Error while pulling images. Going to attempt to move on to docker compose up assuming the images have been built locally
.
time="2022-10-12T15:29:18+02:00" level=warning msg="The \"HOME\" variable is not set. Defaulting to a blank string."
time="2022-10-12T15:29:18+02:00" level=warning msg="The \"HOME\" variable is not set. Defaulting to a blank string."
[+] Running 0/11
 - elasticsearch-setup Error                                                                                                                                                                                 1.8s 
 - schema-registry Error                                                                                                                                                                                     1.8s 
 - datahub-actions Error                                                                                                                                                                                     1.8s 
 - datahub-gms Error                                                                                                                                                                                         1.8s 
 - mysql-setup Error                                                                                                                                                                                         1.8s 
 - broker Pulling                                                                                                                                                                                            1.8s 
 - mysql Error                                                                                                                                                                                               1.8s 
 - elasticsearch Error                                                                                                                                                                                       1.8s 
 - zookeeper Pulling                                                                                                                                                                                         1.8s 
 - kafka-setup Pulling                                                                                                                                                                                       1.8s 
 - datahub-frontend-react Pulling                                                                                                                                                                            1.8s 
no matching manifest for windows/amd64 10.0.22000 in the manifest list entries
.............
g

glamorous-football-7431

10/12/2022, 1:42 PM
Ah, I had this setting on before. Not sure why it was off now.. I turned it on and trying again 🙏