Get startedGet started for free

Using Docker Compose to define a full application

Now that you've successfully defined the dataservice and dataclient components, you wish to put them fully into a Docker Compose application.

There are two container images, dataservice and dataclient available for you and the skeleton of a Docker Compose file. The dataclient image will output SUCCESSFULLY ACCESSED DATA SERVICE! when it is functioning correctly.

This exercise is part of the course

Intermediate Docker

View Course

Exercise instructions

  • Update the compose.yaml file with the required entries.
  • Run the appropriate docker compose command to start the application in a detached state.
  • Use the docker compose command to see output from the dataclient container.

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise