ItSolutionStuff.com

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

By Hardik Savani • July 27, 2021
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: Ubuntu
Hardik Savani

Hardik Savani

I'm a full-stack developer, entrepreneur, and founder of ItSolutionStuff.com. Passionate about PHP, Laravel, JavaScript, and helping developers grow.

📺 Subscribe on YouTube

We Are Recommending You

Deploy Laravel Vapor Project with Docker Tutorial

Read Now →

How to install Vue JS in Laravel 7?

Read Now →

How to Install Botman Chatbot in Laravel?

Read Now →

How to Install Laravel in Your Android Phone?

Read Now →

How to Install Composer using Command Line in Ubuntu?

Read Now →

Laravel - Installation Request for Guzzle/guzzle - Solved

Read Now →

How to Pass Data to All Views using Composer Share in Laravel?

Read Now →

How to Install Sublime Text Editor in Ubuntu?

Read Now →

How to Uninstall a Composer Package in Laravel?

Read Now →

How to Install Sublime Text Editor 3 in Ubuntu?

Read Now →