Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.56 KB

File metadata and controls

37 lines (28 loc) · 1.56 KB

How to Dockerize Spring Boot Application

How to Dockerize Spring Boot Application

Simple Spring Boot API to Demonstrate How to Dockerize Spring Boot Application.

Technology Stack

  • Spring Boot 2.4.1
  • Actuator
  • Lombok
  • Docker version 19.03.14, build 5eb3275d40
  • Docker Hub for publish builds

Main topics inside this article,

  • Up and Running Simple API
  • Dockerfile for Spring Boot Application
    • Explanation About Dockerfile
      • Setting Command Line Arguments To Docker Image
    • Running a Docker Image
      • Run Docker Container In Background
      • Tail Logs of Docker Container After Running in Background
  • Publishing Docker Image To Docker Hub
  • Conclusion

Original Article : How to Dockerize Spring Boot Application

Related Articles