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.