Hi everyone! I'm just getting started and trying t...
# getting-started
c
Hi everyone! I'm just getting started and trying to follow along with the quickstart docs. I've installed all of the pre-requisites and am familiar with docker and docker compose, but when i run the quickstart command
datahub docker quickstart
I get the following error:
Copy code
[2022-08-22 14:07:59,661] ERROR    {datahub.entrypoints:188} - Command failed with [Errno 2] No such file or directory: 'docker-compose'. Run with --debug to get full trace
[2022-08-22 14:07:59,661] INFO     {datahub.entrypoints:191} - DataHub CLI version: 0.8.43.2 at /home/zenith/.local/lib/python3.9/site-packages/datahub/__init__.py
I can't see any issue in my docker environment, the only thing i think it can be is that my system recognizes
docker compose
and doesn't recognize
docker-compose
has anyone else encountered this? I made an alias where
alias docker-compose="docker compose"
and confirmed it worked with
docker-compose version
but I'm still getting the above error on the
datahub docker quickstart
command.
1
I've also placed the contents of https://raw.githubusercontent.com/datahub-project/datahub/master/docker/quickstart/docker-compose-without-neo4j.quickstart.yml in this relative path
./docker/quickstart/docker-compose.quickstart.yml
and used the full command:
datahub docker quickstart --quickstart-compose-file ./docker/quickstart/docker-compose.quickstart.yml
but that still returns the same error
I'm on a debian system if that helps 😅
Found the solution on a different issue posting here in case it helps anyone else. Just needed to run
python3 -m pip install docker-compose
!!
b
Zach - thank you for following up here. I'm sure this will help others 🙂