When running docker compose up for compose.yaml
I got error:
docker compose up
WARN[0000] /docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
project name must not be empty
The quick solution is
- Rename it into
docker-compose.yaml
- Move it into
/home/USER
like/home/ubuntu
in this case.
Execute docker compose up
from there.