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 https://github.com/rajeshrv/Spring5Microservice. Copy chapter6.* into a new STS workspace and rename chapter9.*.
Follow these steps to build Docker containers for the BrownField microservices:
- Install Docker from the official Docker site (https://www.docker.com).
- Follow the Get Started link for the download and install instructions based on the operating system of choice.
- Once installed, run Docker.app and then use the following command to verify the installation:
Client: Version: ...