$ sudo docker-compose up -d --scale php=2 WARNING: The "php" service is using the custom container name "app_server". Docker requires each container to have a unique name. Remove the custom name to scale the service. Creating app_server ... done Creating app_server ...
ERROR: for app_server Cannot create container for service php: Conflict. The container name "/app_server" is already in use by container "b4655b49084b30c3fe62bc26b87b997d2f4c6f2bc436594925d7560bxxxxxxxx". You have to remove (or rename) that container to be able to reuse that name.
ERROR: for php Cannot create container for service php: Conflict. The container name "/app_server" is already in use by container "b4655b49084b30c3fe62bc26b87b997d2f4c6f2bc436594925d7560bxxxxxxxx". You have to remove (or rename) that container to be able to reuse that name. ERROR: Encountered errors while bringing up the project.