Docker-compose for centos

i have downloaded docker compose from git, moved to /usr/local/bin and gave the execute permissions.
The problem is i’m not able to run docker-compose commands directly.Instead i had to run /usr/local/bin/./docker-compose version.
I have created an alias for this full path but i think there is something im missing here as in windows i run the command directly

you are working in windows?

no. i’m using centos on virtual box

1 Like