docker-compose command not available for mac
24 Jan 2020, 13:57 UTC
I installed docker with the instructions here, downloading from docker-hub
https://docs.docker.com/docker-for-mac/install/
But when I run docker-compose I get this error
pyenv: docker-compose: command not found
The `docker-compose' command exists in these Python versions:
3.6.5/envs/myenv
Also, docker-compose is available under /Users
which docker-compose
/Users/<username>/.pyenv/shims/docker-compose
In this link says, docker-compose for mac need not be installed explicitly as it is part of docker for desktop mac.
https://docs.docker.com/compose/install/
Is something wrong with my installation?
1 answer
Accepted answer · original discussion
28 Jan 2020, 13:57 UTC
I ran into the same issue on macOS today. Turned out that you need to run the installed app once, it does some additional downloading and setup. That setup includes setting up your path variables.
1 question comment
Use comments to ask for clarification. Post a solution as an answer.
26 Jan 2020, 13:57 UTC
docker-compose is among those.