Solved: Supported filenames: docker-compose.yml, docker-compose.yaml

By Hardik Savani July 27, 2021 Category : Ubuntu

Hey Dev

Few days, i was working on my laravel Apache kafka application and i download one laravel project and following his given steps. when i run following "docker-compose up -d" command:

docker-compose up -d

i found following error:

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

Even i was in my project root folder. after long research i found how to solve this error. you can use docker-composer -f option where you can give file path. i am using ubuntu and i given path as like bellow and it was working for me:

Solution:

docker-compose -f ~/Downloads/docker-compose.yaml up -d

I hope it can help you as well.

Tags :
Shares