librenms / docker

LibreNMS Docker image
MIT License
662 stars 275 forks source link

Version Error Resolve #439

Closed justinthoms closed 3 months ago

justinthoms commented 3 months ago

Version requeiRROR: The Compose file './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/ d error resolved

CLAassistant commented 3 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

crazy-max commented 3 months ago

You might be seeing this error because you're using the wrong Compose file version.

What's the output of docker compose version? Seems you're still on compose v1, which is EOL for few years now.