1. Learn
  2. /
  3. Courses
  4. /
  5. Intermediate Docker

Connected

Exercise

Adding a data client

After building your dataservice backend, you now need to add a client component to the service. This is the portion of the application that accesses the backend service and provides additional insights to users.

The client application container image is already built under the name dataclient and is available for your use. An instance of the dataservice backend is already running.

The dataclient image will output SUCCESSFULLY ACCESSED DATA SERVICE! when it is functioning correctly.

Instructions 1/3

undefined XP
  • 1
    • Start an instance of the dataclient image and look for any errors.
  • 2
    • Use the appropriate Docker tools to discern details about the dataservice container instance. You'll find the answer in the NetworkSettings section near the end of the output.
  • 3
    • Run the appropriate Docker command to start a dataclient instance such that it can communicate with the dataservice.