title: How to "docker-compose up" for images from Docker Hub
body: <p>Is it possible to pull and start all containers defined in docker-compose.yml? I'm trying to execute <code>docker-compose up -d my/image</code>, where <code>my/image</code> is a repo on DockerHub, but it says "Can't find docker-compose.yml". I also tried first to pull the image using <code>docker pull my/image</code> with the same result</p>
  
  <p>UPD: The image <a href="https://hub.docker.com/r/gplcart/core/" rel="noreferrer">https://hub.docker.com/r/gplcart/core/</a>, source - <a href="https://github.com/gplcart/docker-core" rel="noreferrer">https://github.com/gplcart/docker-core</a></p>
  
  <p>SOLVED: It seems docker-compose does not work that way I want. I need to create a directory manually, place docker-compose.yml there, then run <code>docker-compose up</code>. </p>
  
  <p><a href="https://docs.docker.com/compose/wordpress/#define-the-project" rel="noreferrer">https://docs.docker.com/compose/wordpress/#define-the-project</a></p>
  
  <p>I expected that running <code>docker-compose up -d repo/image</code> is enough to download and run all defined containers</p>