This is your quick guide to understanding yaml in less than 90 seconds! Commonly used by a number of big names, Docker compose files are written in YAML. Learn more about this data serialization language here.
Michael Nicholson
Cloud Solution Engineer
Our quick answers series is here to deliver easy, speedy answers to some of the most common cloud tech queries. Today, we’ll be covering what YML (YAML) is.
Quick Answers: What does YML mean?
When YAML was released in 2001, it stood for Yet Another Markup Language. Markup language being metadata intended for annotating documents. HTML is an example of markup language, as is XML—eXtensible Markup Language. This isn't really YAML though. YAML was intended for data serialization in much the same way that JSON is used.
So the name later on morphed to mean YAML Ain't a Markup Language, a more meta version of the acronym. Unlike JSON, YAML structures data in a more human-readable way using white space and indentation, while still allowing for complex data structures.
Other than readability, YAML offers cross-language data portability, which makes it ideal for configuration files, and a consistent data model to support generic tooling. It's one-pass processing, so the configuration file only needs to be read once, and it allows configuration as code that can be checked into version control to track the changes.
It's commonly used by a number of big names. Docker compose files are written in YAML. Ansible, Kubernetes use YAML, as do hundreds more projects.
For more helpful information for deploying your cloud apps check out our blog. or contact us to learn about Divio's smart cloud platform.
Keep up with Divio's latest news and insights by following us on LinkedIn and X/Twitter.
Experience Divio's Open Cloud with our 30-day Free Trial!
Easily deploy your web applications and explore customized solutions.
Sign up now!