The Compose Specification has been updated. The current documentation and examples use the old format. Here are some of the changes:
- For example,
docker-compose.yml
ordocker-compose.yaml
should now becompose.yaml
. - The version number is unnecessary.
- The commands (e.g.,
docker compose up
) do not include a hyphen.
These changes can cause user confusion. The change should be documented and the documentation and examples should be made consistent with the current specification.