What’s the Difference Between docker-compose.yaml and .yaml?

0
6
Asked By CuriousCat92 On

I'm trying to get my head around Docker and its command line interface, and I've stumbled upon a couple of different YAML files: `docker-compose.yaml` and `.yaml`. Some resources seem to talk about one or the other, and it's confusing. Are they used together, or is it unnecessary to have both? Any insights or links to official documentation would be super helpful!

1 Answer

Answered By TechWhiz101 On

The `.yaml` file isn't a standard in the Docker world. If you're encountering it, it's probably just a naming convention used by the author of the guide or tutorial you're following.

InsightfulNerd -

That actually clears things up for me! It looks like some app images require additional configurations, and developers sometimes name these files after their applications. It's not an official Docker practice, though. Thanks for the explanation!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.