The official java image provided in DockerHub, with this basic image, Dockerfile can directly obtain its status through the FROM instruction-that is, install java in the container, and then run the SpringBoot application through the custom command.