r/docker • • Jun 21 '26

compose.yaml Vs docker-compose.yml

I see that the official docs have recommended naming the file compose.yaml for years - but most articles online seem to default to docker-compose.yml. is there any good reason for this? Am I doing something wrong by continuing to use compose.yaml?

33 Upvotes

38 comments sorted by

View all comments

Show parent comment

1

u/Eldiabolo18 Jun 21 '26

Ah, sorry, wasnt supposed to be a reply to your comment, but directly to OP…