This workshop is intended to help introduce several concepts of Docker, focused around a Java application.
To get started, clone this repo to your local machine and open the project in your preferred IDE. IntelliJ is used in the writeup, but the principles are easily swapped to other IDEs.
The workshop leverages Maven and all resources are available from Maven Central. If your org doesn't allow direct access to Maven Central, adjustments may be needed in.
- Running, troubleshooting, and connecting to a containerized database
- Sharing container configurations in your projects
- Building a container image
- Securing your container images
The application used with this workshop is a fairly simple Spring Boot-based todo application in which todo items are stored in a PostgreSQL database.
There are also a few Testcontainer integration tests bundled in the project, although they are not the focus of the workshop.
The sample app is a modified version of the S123 app from AtomicJar.