Version: the value for the version must be a string. We will delve into the type of mapping available in a YAML Compose file: We will discuss the Docker Engine requirements and the Compose file configurations. We will shift our focus back to version 3 Compose files. Combos: combination of sequence and mapping collections. Sequences: lists or arrays in other languages. Mappings: known as dictionaries or hashes in different programming languages. Then we will cover YAML collections and how they are organized: Booleans: indicate one of two values: true or false. Null Type: represents the absence of a value, or no value. Strings: a sequence of characters that can include spaces and the use of quotes to indicate the start and end of a string. Integers: whole numbers like zero or 1, which also includes negatives. Next we will look at a few basic data types in YAML: Then, we will move into a discussion on JSON, and evaluate the difference between both languages. We will start with outlining the high-level capabilities of YAML. Then we will teach you about the root elements in a Compose file document: Compose file version, services in the application, volumes used by the services, and networks to be created. In this lesson, you will learn about the file format used for Compose files: YAML.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |