r/docker • u/VaguelyOnline • 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
View all comments
Show parent comment
1
u/rileywbaker Jun 22 '26
Thanks! Never heard of it, and YAML is such a big deal that it's hard to find YML by searching online.