mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 14:47:04 -05:00
[GH-ISSUE #392] Getting an Error on the Compose File #1429
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TeamGroth on GitHub (Mar 23, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/392
I am trying to set this up tonight on an LXC container on Debian 12.7.1. When I first ran the script, I was ssh'd into vscode and running the commands through the terminal. I thought that it was odd, that after it answered no for installing crowedsec it said that the installation was complete. I ran docker-compose up -d on the console of the debian server and got the same error. It is saying that the compose file './docker-compose.yml' is invalid because 'name' does not match any of the regexes: '^x-'. I looked at the file and it looks ok to me. Maybe I am doing something wrong.
https://imgur.com/a/oWprJoM
@miloschwartz commented on GitHub (Mar 23, 2025):
Since you're using the older docker-compose and not docker compose I think you have to set the version at the top of the file. I think you could add
version: 3.9to the top of the file, but the best solution would be to use the newer docker compose tools.@TeamGroth commented on GitHub (Mar 24, 2025):
I installed docker compose with apt after creating the Debian server. I
would have thought I had the latest version.
On Sun, Mar 23, 2025, 6:10 PM Milo Schwartz @.***>
wrote:
@Lokowitz commented on GitHub (Mar 24, 2025):
Hi @TeamGroth,
for docker installation it would be better to follow the official installation guid to get the latest version.