Categories
Ubuntu

Fix docker compose project name must not be empty Docker-in-Docker

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

  1. Rename it into docker-compose.yaml
  2. Move it into /home/USER like /home/ubuntu in this case.

Execute docker compose up from there.

Leave a Reply

Your email address will not be published. Required fields are marked *