Problem running docker-compose file (but found workaround) #1506

Closed
opened 2026-04-05 19:31:20 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @bnachtwey on 5/10/2025

Hi
as it seems, the docker-compose file created is not valid.
Running the installer I get

Starting containers...
ERROR: The Compose file './docker-compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'

A workaround seems to be to skip that name: line and use an environmental setting like:
export COMPOSE_PROJECT_NAME=pangolin

Are there any other / better approaches to cope with this?

I use debian12 with

  • docker 1.5-2
  • docker-compose 1.29.2-3YAML
  • docker.io 20.10.24+dfsg1-1+deb12u1

Thanks & best
BJørn

*Originally created by @bnachtwey on 5/10/2025* Hi as it seems, the docker-compose file created is not valid. Running the installer I get ``` Starting containers... ERROR: The Compose file './docker-compose.yml' is invalid because: 'name' does not match any of the regexes: '^x-' ``` A workaround seems to be to skip that `name:` line and use an environmental setting like: `export COMPOSE_PROJECT_NAME=pangolin` Are there any other / better approaches to cope with this? I use debian12 with - docker 1.5-2 - docker-compose 1.29.2-3YAML - docker.io 20.10.24+dfsg1-1+deb12u1 Thanks & best BJørn
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1506