The official Docker Compose specification now recommends using compose.yaml instead of docker-compose.yml. Although both file names are supported, Docker Compose looks for compose.yaml first. Support for compose.yaml was introduced in version 1.28.6 in March 2021, and is supported by all Docker Compose v2 versions. It's advised to update your Docker projects accordingly.
1 Comment
Sort: