For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- JDBC API
- Install Docker
- Execute
docker run -d -e POSTGRES_PASSWORD=admin -e POSTGRES_DB=cars -p 5432:5432 postgres
- Execute
mvn clean package
java -jar target/spring-jdbc-template-0.0.1-SNAPSHOT.jar
- Install Docker
- Install Docker-Compose
- Execute:
mvn spring-boot:build-image
docker-compose up
The following guides illustrate how to use some features concretely: