I need to start multiple containers for the same image. If i create my compose file as shown below, it works fine.
version: \'2\' services: app01: im
The scale command is now deprecated, you should use up instead.
scale
up
docker-compose up --scale app=2
more details in https://docs.docker.com/compose/reference/up