Unable to Use Installer #1752

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

Originally created by @grokdesigns on 3/2/2025

When running the installer, I'm getting the following error:

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

You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
Installation complete!

The initial docker-compose.yml is created, but nothing starts. So I took the compose file and deployed it manually through Portainer. When running the installer after that, it recognizes that Pangolin is installed and prompts to install Crowdsec. When I choose yes, it prompts me to confirm the information and then returns the same error.

Docker version 20.10.17, build 100c701

*Originally created by @grokdesigns on 3/2/2025* When running the installer, I'm getting the following error: > ERROR: The Compose file './docker-compose.yml' is invalid because: > 'name' does not match any of the regexes: '^x-' > > You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1. > For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/ > Installation complete! The initial docker-compose.yml is created, but nothing starts. So I took the compose file and deployed it manually through Portainer. When running the installer after that, it recognizes that Pangolin is installed and prompts to install Crowdsec. When I choose yes, it prompts me to confirm the information and then returns the same error. Docker version 20.10.17, build 100c701
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1752