[GH-ISSUE #263] Unable to Use Installer #1365

Closed
opened 2026-04-16 08:00:47 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @grokdesigns on GitHub (Mar 2, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/263

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 GitHub (Mar 2, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/263 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
Author
Owner

@grokdesigns commented on GitHub (Mar 2, 2025):

Used this as an excuse to upgrade to the latest version of Ubuntu and update my Docker version. Seems to be working now.

<!-- gh-comment-id:2692842087 --> @grokdesigns commented on GitHub (Mar 2, 2025): Used this as an excuse to upgrade to the latest version of Ubuntu and update my Docker version. Seems to be working now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#1365