Orchestration using a docker-compose file

In the Docker Compose file, you can define it to compose a set of containers. This is a YAML configuration file. docker-compose manages runtime configuration of the containers with the right options and configuration. We have created a docker-compose.yml file in the preceding section. Let's test the configuration of this file for syntax errors by using the following command:

$ docker-compose config

You can see the following output:

In the case of a syntax error, it renders as the following:

You must ...

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.