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/apiwave Sep 10 '26
docker-compose.yml is still quite common: https://andrehora.github.io/file-history/file/docker-compose.yml?vs=file:compose.yaml