Chapter 5, Docker Compose
Here are some sample answers to the questions presented in this chapter:
- YAML, or YAML Ain’t Markup Language.
- The
restart
flag is the same as the--restart
flag. - False; you can use Docker Compose to build images at runtime.
- By default, Docker Compose uses the name of the folder that the Docker Compose file is stored in.
- You use the
-d
flag to start the container’s detached mode. - Using the
docker-compose config
command will expose any syntax errors within your Docker Compose file. - The Docker App bundles your Docker Compose file into a small Docker image, which can be shared via Docker Hub or other registries, the Docker app command-line tool then can render working Docker Compose files from the data contained within the image.