Technical questionAccepted answer
docker-compose command not available for mac
naamadheya
Apr 2
0 views1
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
user321553125
PermalinkNov 25
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.
David MazePermalink
Apr 3
If you've installed Docker for Mac (either via Homebrew or by downloading the installer yourself as per your link) there will be a "Docker" application in your Applications folder or the OS X Launchpad; it is circular, with a whale, with containers on its back. Start that application and the whale icon should appear in the menu bar. The first-time setup also adds some additional command-line tools and I think
docker-compose is among those.