Deploying microservices into Docker
This section will operationalize our learning by showcasing how to build containers for our BrownField PSS microservices.
Note
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: 17.03.1-ce API version: 1.27 Go version: go1.7.5 Git commit: c6d412e Built: Tue Mar 28 00:40:02 2017 OS/Arch: darwin/amd64 Server: Version: 17.03.1-ce ...