Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Contianerize Spring Boot Apps

Contianerize Spring Boot Apps

Slide deck related to YouTube video on how to containerize or Dokcerize Spring Boot Applications. https://youtu.be/c9L89T8BkZ4

Covers the following topics:
- Generate Spring Boot App using Spring initializer
- Build Spring Boot app using Maven build
- Containerize Spring Boot App using multistage Dockerfile
- Build Container image using Docker build
- Use Docker Compose to build multi-container images
- Publish multiple container images using Docker Compose
- Run container images locally with Docker Run

Nilesh Gule

March 12, 2023
Tweet

More Decks by Nilesh Gule

Other Decks in Technology

Transcript

  1. Summary ✓ Base images: Used Eclipse Temurin base image for

    JDK and JRE ✓ Multistage Docker build: ✓ separate build and run stages using different base images ✓ cache build dependencies using the mount cache feature ✓ Docker Hub: Publish container images