I am using vagrant. when i do git bash in the folder which already contain docker-compose.yml file. but when i execute command docker-compose up then that gives me error like
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?
Supported filenames: docker-compose.yml, docker-compose.yaml
steps i did : 1. went in folder which contain vagrant and docker-compose.yml file 2. right click and clicked on git bash here 3. give command in git bash as vagrant ssh 4. then give command as docker-compose up
folder [...] already contain docker-compose.yml file
. docker-compose thinks that:Can't find a suitable configuration file in this directory [...] Supported filenames: docker-compose.yml, docker-compose.yaml
. You need to find why there is such a gap in your respective analyzes of the situation. – Coaptationpwd
andls
before you launch to make sure you are in the correct dir. – Coaptation-f
option – Coaptation