Challenge: Fixing Common Issues with Docker

Problem 1: Fixing formatting errors and package issues

We’ve been given a docker-compose.yml file, which contains several formatting errors and a logstash.conf file to process, forward, and log. Our task is to identify and correct the errors in the docker-compose.yml file to ensure the file is formatted correctly and valid.

Here are the files:

  • The docker-compose.yml file:

Get hands-on with 1200+ tech skills courses.