Solved: can't find a suitable configuration file in this directory or any Supported fileNames: docker-compose.yml



Question: How do you solve the docker-compose up error on Linux Ubuntu "can't find a suitable configuration file in this directory or any Supported fileNames: docker-compose.yml".

Solution: Reinstall Docker Compose again, there is a chance that you installed Docker CE when installing Ubuntu OS. If this is the case you might have experienced permission issues, you can install docker-compose by issuing the command below:

sudo apt-get install docker-compose

If reinstalling Docker Compose does not help to resolve the issue, then the cause might be obvious, you might not be in the correct directory where docker-docker-docker-compose.yaml file is located. If this is the case, carefully check the directory where you are currently are by issuing the command:
sudo pwd #This will print the location of the directory/folder that you're currently are.

[Note]: You can double-check to see if docker-compose.yaml file is present in the directory where you are by issuing the command:
sudo ls #This will show you the files that are located in the directory that you are currently are.



Docker docker-compose error Ubuntu 18.04 Docker published
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback

Other users would like to know if this solution helped you.

Your Session is Ending
Login to Continue


© 2021 - ErnesTech - Privacy