最佳答案
我需要为同一个映像启动多个容器。如果我创建如下所示的撰写文件,它工作得很好。
version: '2'
services:
app01:
image: app
app02:
image: app
app03:
image: app
app04:
image: app
app05:
image: app
Is there an easy way for me to mention the number of instances for the compose instead of copy and pasting multiple times?