0

This might look similar to this existing solution but I have tried all the solutions mentioned there and none seems to resolve my issue. I have created a docker compose file , Docker-Compose-V3.yml.

On running docker-compose -f docker-compose-v3.yml up I am able to successfully spin up the grid network.

When I am trying to scale my chrome nodes using docker-compose up --scale chrome = 5 I am getting no configuration file provided: not found error message

I have tried following solutions from the existing answer linked but to no avail

  1. Made sure I am in correct directory where the docker compose file is present
  2. Checked the extension of yml file and cross checked the folder option settings

I am unable to understand that why is docker able to identify the compose file when asked to spin up the grid but fails to do so when I am trying to scale up the services. I know that another possible way I can do it is using docker swarm which I came to know of while scrolling through docker documentation but would like to understand why this isn't working.

Needless to say but I have just started exploring the docker world and would appreciate any help in being pointed towards the existing documentation/answers that would resolve my problem

Kovid Mehta
  • 531
  • 2
  • 8
  • 28
  • In the command you mentioned to scale "chrome", try adding `-f docker-compose-v3.yml` – akazuko Nov 10 '22 at 05:16
  • Tried doing this as well with following command docker-compose up --scale chrome=5 -f docker-compose-v3.yaml , errors out unknown shorthand flag: 'f' in -f – Kovid Mehta Nov 10 '22 at 07:56
  • The command should be "docker-compose -f docker-compose-v3.yml up --scale chrome=5" – akazuko Nov 10 '22 at 08:25

0 Answers0