This small tutorial records how to package and run your SpringBoot application in Docker. The basic idea is to configure a custom Dockerfile file in your program directory, and then use the Docker's built-in package image command to generate a local image for use.
Prepare the Docker operating environment and install Docker Roar.
To prepare the Java runtime environment on the Linux virtual machine, I used Java8;