docker-compose creating multiple instances for the same image
<p>I need to start multiple containers for the same image. If i create my compose file as shown below, it works fine. </p>

<pre><code>version: '2'

services:
  app01:
    image: app
  app02:
    image: app
  app03:
    image: app
  app04:
    image: app
  app05:
    image: app  
</code></pre>

<p>Is there any easy way for me to mention the number of instances for the compose instead of copy and pasting multiple times?</p>