I heard about Datahub on the latest episode of the...
# getting-started
b
I heard about Datahub on the latest episode of the Data Engineering Podcast and decided to check it out. When I run the quickstart on my MacBook Pro with the M1 chip, it fails on `mysql`:
Copy code
% datahub docker quickstart
Fetching docker-compose file from GitHub
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

Pulling elasticsearch          ... done
Pulling elasticsearch-setup    ... done
Pulling mysql                  ... pulling from library/mysql
Pulling datahub-gms            ... done
Pulling datahub-frontend-react ... done
Pulling mysql-setup            ... done
Pulling zookeeper              ... done
Pulling broker                 ... done
Pulling schema-registry        ... done
Pulling kafka-setup            ... done

ERROR: for mysql  no matching manifest for linux/arm64/v8 in the manifest list entries
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
[2021-10-17 09:24:33,254] ERROR    {datahub.entrypoints:99} - File "/opt/homebrew/lib/python3.9/site-packages/datahub/entrypoints.py", line 91, in main
...
I found a page saying it might help to have a
platform:
specified in the Dockerfile, but the only Dockerfile I can find is transient and I haven't found a good way to edit the one that the quickstart script executes. Any suggestions?
m
@brief-lock-26227: you can specify a dockerfile using the
--quickstart-compose-file
option. Let us know how it goes.
b
Thanks! That seems to have fixed it! For the record, I added this line to the
mysql
section of the docker file:
Copy code
platform: linux/x86_64
as recommended by the best answer here.
m
oh that’s great! do you want to send your first PR đŸ™‚
b
I'd be glad to, but I wonder if the presence of the
platform
statement could cause issues for others. Also, I'm still not able to get the quickstart working. See my post in this channel from a few minutes ago.