Collector install fails: validating configs.beyla.yaml Additional property content is not allowed

Running the Better Stack collector install command docker compose -f - up -d --pull always fails with validating -: configs.beyla.yaml Additional property content is not allowed. The error appears on both plain Docker Compose and Docker Swarm deployments, with Docker Compose 2.21.0 installed.

Cause: the collector's docker-compose.yml used inlined configs, a feature Docker Compose only supports from 2.23.1 onward, and the reporter was on 2.21.0. Two fixes, confirmed by the maintainers: upgrade Docker Compose to >2.23.1, or (their preferred path) install via install.sh, which no longer ships a separate Beyla config at all.

Source: https://github.com/BetterStackHQ/collector/issues/8