Deploying microservices into Docker

This section will operationalize our learning by showcasing how to build containers for our BrownField PSS microservices.

The full source code of this chapter is available under the chapter9 projects, in the code files under Copy chapter6.* into a new STS workspace and rename chapter9.*.

Follow these steps to build Docker containers for the BrownField microservices:

  1. Install Docker from the official Docker site (
  1. Follow the Get Started link for the download and install instructions based on the operating system of choice.
  2. Once installed, run and then use the following command to verify the installation:
        Client: Version: ...

Get Building Microservices with Spring now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.