Hard to help when all you share is that you have an error message and basically say that itās wrong. It is probably not, but I guess this is the reason why the original question didnāt get any response.
The filename is probably wrong. For example it could be lowercase ymI instead of yml. The first ends with uppercase i and the latter with a lowercase L. You could do th following:
Try to use cat to get the content of the file, but when you refer to the filename, donāt use TAB to complete the name in the terminal.
cat docker-compose.yml
If that works, then you can specify the compose file as a compose argument:
docker compose -f docker-compose.yml up -d
You ca also check the length of the filename like this:
find * | awk '{print length "\t" $0}'
and you should get an output like this but different depending on what files you have in the folder:
18 docker-compose.yml
6 run.sh
If you donāt see 18 before the compose fileās name there is an extracharacter in it or something is missing.
Dear Ćkos,
Yes, you are right but I am totally new on this area. Well, I was succeded to overcome tis error. First it was a problem I wrote ādocker composeā instead of ādocker-composeā and then I gave the docker-compose.yml file location with -f option.
Now it is working.
Thank you for answering me.
Bests,
Sanyi