Spring Boot 4 · Create and run

Build a container image

Build an OCI image with Cloud Native Buildpacks, no Dockerfile needed. Needs Docker running.

./mvnw spring-boot:build-image

Official Spring Boot 4 documentation

More create and run commands

All create and run commands · Spring Boot 4 cheatsheet

Was this page helpful?