Get startedGet started for free

Troubleshooting dependencies

You feel as though you almost understand dependencies in Docker Compose, but a colleague brings you an application that is behaving strangely. Your colleague asks you to review and determine what is causing the error being seen when starting up the application. Your colleague mentions that the application does require redis to work properly.

The compose.yaml file and all necessary images are already available for you.

This exercise is part of the course

Intermediate Docker

View Course

Exercise instructions

  • Start the application using the proper docker compose command. NOTE: It's easier to leave out the -d command, but use Ctrl-C to cancel.
  • Look for any errors in the workspace-app-1.
  • Examine the compose.yaml and fix any potential issues.
  • Restart the application using docker compose and verify the issue is fixed. (You should receive a message stating at least one successful connection.)

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise