Solved: Supported filenames: docker-compose.yml, docker-compose.yaml
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.
Hardik Savani
I'm a full-stack developer, entrepreneur and owner of ItSolutionstuff.com. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Laravel, Angular, Vue, Node, Javascript, JQuery, Codeigniter and Bootstrap from the early stage. I believe in Hardworking and Consistency.
We are Recommending you
- Deploy Laravel Vapor Project with Docker Tutorial
- How to install Vue JS in Laravel 7?
- How to Install Botman Chatbot in Laravel?
- How to Install Laravel in Your Android Phone?
- How to Install Composer using Command Line in Ubuntu?
- Laravel - Installation Request for Guzzle/guzzle - Solved
- How to Pass Data to All Views using Composer Share in Laravel?
- How to Install Sublime Text Editor in Ubuntu?
- How to Uninstall a Composer Package in Laravel?
- How to Install Sublime Text Editor 3 in Ubuntu?