Question: What is going on, Docker got installed when I installed a Linuxe Ubuntu Server but now I cannot run docker-compose. Even when the docker-compose.yml file is in the directory. What could I be doing wrong?
Answer: There is a chance that you installed Docker Engine using a Snap or you installed the docker-compose as a Snap as well. This brings many problems as docker-compose could not find the compose.yml file.
In order to resolve this issue, unistall Docker Engine and then install Docker and docker-compose at the same time. See the command below:
[Command]: sudo snap remove docker
[Then]: sudo apt install docker.io docker-compose
When these commands run you will be up to the races, let me know if this helps you.