title: docker-compose command not available for mac
body: <p>I installed docker with the instructions here, downloading from docker-hub</p>
  
  <pre><code>https://docs.docker.com/docker-for-mac/install/
  </code></pre>
  
  <p>But when I run <code>docker-compose</code> I get this error</p>
  
  <pre><code>pyenv: docker-compose: command not found
  
  The `docker-compose' command exists in these Python versions:
  3.6.5/envs/myenv
  </code></pre>
  
  <p>Also, docker-compose is available under /Users</p>
  
  <pre><code>which docker-compose
  /Users/&lt;username&gt;/.pyenv/shims/docker-compose
  </code></pre>
  
  <p>In this link says, docker-compose for mac need not be installed explicitly as it is part of docker for desktop mac.</p>
  
  <pre><code>https://docs.docker.com/compose/install/
  </code></pre>
  
  <p>Is something wrong with my installation?</p>